forked from coder/coder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
25 lines (21 loc) · 1.07 KB
/
Copy pathindex.tsx
File metadata and controls
25 lines (21 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { createRoot } from "react-dom/client";
import "./index.css";
import { App } from "./App";
console.info(` -####### +######- ########+ ########## ########+. ###########
+#####--###### +#####--#####+ ############ ########## ####+++#####- ###########
####- -#### ####- ##### #### ####+ #### #### .#### ###########
.#### #### #### #### #### ######### ####...+##+ ###########
####. .#### #### +#### #### +#### #### ####+####### ###########
#####- -##### ######..###### ############- ########## #### ##### ###########
.########+ -########. #########+ ########## #### .#### ###########
`);
const element = document.getElementById("root");
if (element === null) {
throw new Error("root element is null");
}
// The service worker handles push notifications.
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/serviceWorker.js");
}
const root = createRoot(element);
root.render(<App />);