diff options
Diffstat (limited to 'excalidraw-app/index.tsx')
| -rw-r--r-- | excalidraw-app/index.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/excalidraw-app/index.tsx b/excalidraw-app/index.tsx new file mode 100644 index 0000000..a28bd9e --- /dev/null +++ b/excalidraw-app/index.tsx @@ -0,0 +1,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>, +); |
