aboutsummaryrefslogtreecommitdiffstats
path: root/excalidraw-app/index.tsx
blob: a28bd9e49c9a974c5e9f368a700172d86fbc0788 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>,
);