1import { StrictMode } from "react";
2import { createRoot } from "react-dom/client";
3import { scan } from "react-scan";
4import { App } from "./App";
5import "./index.css";
6
7const container = document.getElementById("root");
8
9if (!container) {
10 throw new Error("Expected a #root element for the example playground.");
11}
12
13scan({
14 animationSpeed: "off",
15 enabled: true,
16 showToolbar: true,
17 dangerouslyForceRunInProduction: true,
18});
19
20createRoot(container).render(
21 <StrictMode>
22 <App />
23 </StrictMode>,
24);