index.tsx 416 B

1234567891011121314
  1. import { StrictMode } from "react";
  2. import { createRoot } from "react-dom/client";
  3. import ExcalidrawApp from "./excalidraw-app";
  4. import "./excalidraw-app/pwa";
  5. import "./excalidraw-app/sentry";
  6. window.__EXCALIDRAW_SHA__ = process.env.REACT_APP_GIT_SHA;
  7. const rootElement = document.getElementById("root")!;
  8. const root = createRoot(rootElement);
  9. root.render(
  10. <StrictMode>
  11. <ExcalidrawApp />
  12. </StrictMode>,
  13. );