From 020ce327794089995f6b4511cfca1e949a7eab03 Mon Sep 17 00:00:00 2001
From: Jarred Sumner <jarred@jarredsumner.com>
Date: Sat, 19 Jun 2021 18:30:32 -0700
Subject: color looper i'll probably get rid of

Former-commit-id: 5015c6a96964c23154509bc26633c18ce36aa9ff
---
 demos/simple-react/src/index.tsx | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

(limited to 'demos/simple-react/src/index.tsx')

diff --git a/demos/simple-react/src/index.tsx b/demos/simple-react/src/index.tsx
index 41b0d56ac..3db53a67f 100644
--- a/demos/simple-react/src/index.tsx
+++ b/demos/simple-react/src/index.tsx
@@ -1,21 +1,11 @@
 import ReactDOM from "react-dom";
 import React from "react";
-import { Button } from "./components/button";
+import { Main } from "./main";
 import classNames from "classnames";
 
 const Base = ({}) => {
-  return (
-    <main className={classNames("main")}>
-      <h3 className={classNames("hi")}>Here is some text</h3>
-      <h3 className={classNames("extremely")}></h3>
-      <>Fargment!1239899s</>
-
-      <Button
-        label="Do notencoding! cl1ick."
-        onClick={() => alert("I told u not to click!")}
-      ></Button>
-    </main>
-  );
+  const name = decodeURIComponent(location.search.substring(1));
+  return <Main productName={name || "Bundler"} />;
 };
 
 function startReact() {
-- 
cgit v1.2.3

