2023-12-07 16:39:11 +05:30
|
|
|
import { StrictMode } from "react";
|
|
|
|
import { createRoot } from "react-dom/client";
|
|
|
|
import ExcalidrawApp from "./App";
|
|
|
|
import { registerSW } from "virtual:pwa-register";
|
|
|
|
|
|
|
|
import "../excalidraw-app/sentry";
|
|
|
|
window.__EXCALIDRAW_SHA__ = import.meta.env.VITE_APP_GIT_SHA;
|
|
|
|
const rootElement = document.getElementById("root")!;
|
|
|
|
const root = createRoot(rootElement);
|
|
|
|
registerSW();
|
|
|
|
root.render(
|
|
|
|
<StrictMode>
|
|
|
|
<ExcalidrawApp />
|
|
|
|
</StrictMode>,
|
2022-05-18 18:30:34 +02:00
|
|
|
);
|