2022-07-22 11:20:36 +05:30
|
|
|
import { StrictMode } from "react";
|
|
|
|
import { createRoot } from "react-dom/client";
|
2023-09-21 09:28:48 +05:30
|
|
|
import ExcalidrawApp from "../excalidraw-app";
|
2023-07-28 20:17:24 +05:30
|
|
|
import { registerSW } from "virtual:pwa-register";
|
2020-04-13 16:08:39 +02:00
|
|
|
|
2023-09-21 09:28:48 +05:30
|
|
|
import "../excalidraw-app/sentry";
|
2023-07-27 23:50:11 +05:30
|
|
|
window.__EXCALIDRAW_SHA__ = import.meta.env.VITE_APP_GIT_SHA;
|
2022-07-22 11:20:36 +05:30
|
|
|
const rootElement = document.getElementById("root")!;
|
|
|
|
const root = createRoot(rootElement);
|
2023-07-28 20:17:24 +05:30
|
|
|
registerSW();
|
|
|
|
|
2022-07-22 11:20:36 +05:30
|
|
|
root.render(
|
|
|
|
<StrictMode>
|
|
|
|
<ExcalidrawApp />
|
|
|
|
</StrictMode>,
|
|
|
|
);
|