agb/website/app/src/index.tsx

16 lines
318 B
TypeScript
Raw Normal View History

2023-04-14 06:44:00 +10:00
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
2023-07-05 21:04:27 +10:00
import { GlobalStyle } from "./globalStyles";
2023-04-14 05:12:45 +10:00
const root = ReactDOM.createRoot(
2023-04-14 06:44:00 +10:00
document.getElementById("root") as HTMLElement
2023-04-14 05:12:45 +10:00
);
2023-07-05 20:23:59 +10:00
2023-04-14 05:12:45 +10:00
root.render(
<React.StrictMode>
2023-07-05 21:04:27 +10:00
<GlobalStyle />
2023-04-14 05:12:45 +10:00
<App />
</React.StrictMode>
);