diff options
| author | kj_sh604 | 2026-03-15 16:19:35 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-03-15 16:19:35 -0400 |
| commit | bfc2cec7d43eb8eaa46dd3f91084932381257059 (patch) | |
| tree | 0857e3aac2cff922826d4871ff54536b26fad6fc /excalidraw-app/index.tsx | |
| parent | 225db4a7805befe009fe055fc2ef5daedd6c04f9 (diff) | |
refactor: excalidraw-app/
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>, +); |
