aboutsummaryrefslogtreecommitdiff
path: root/demos/simple-react/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'demos/simple-react/src/index.tsx')
-rw-r--r--demos/simple-react/src/index.tsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/demos/simple-react/src/index.tsx b/demos/simple-react/src/index.tsx
deleted file mode 100644
index 3db53a67f..000000000
--- a/demos/simple-react/src/index.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import ReactDOM from "react-dom";
-import React from "react";
-import { Main } from "./main";
-import classNames from "classnames";
-
-const Base = ({}) => {
- const name = decodeURIComponent(location.search.substring(1));
- return <Main productName={name || "Bundler"} />;
-};
-
-function startReact() {
- ReactDOM.render(<Base />, document.querySelector("#reactroot"));
-}
-
-globalThis.addEventListener("DOMContentLoaded", () => {
- startReact();
-});
-startReact();
-
-export { Base };