741d5f1a18
* refactor: move excalidraw-app outside src * move some tests to excal app and fix some * fix tests * fix * port remaining tests * fix * update snap * move tests inside test folder * fix * fix
17 lines
456 B
TypeScript
17 lines
456 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import ExcalidrawApp from "../excalidraw-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>,
|
|
);
|