Merge pull request #525 from danditomaso/fix/remove-react-scan

Revert: Remove react scan
This commit is contained in:
Dan Ditomaso
2025-03-19 14:55:33 -04:00
committed by GitHub
6 changed files with 33 additions and 306 deletions
-8
View File
@@ -1,4 +1,3 @@
import { scan } from "react-scan";
import "@app/index.css";
import { enableMapSet } from "immer";
import "maplibre-gl/dist/maplibre-gl.css";
@@ -7,13 +6,6 @@ import { createRoot } from "react-dom/client";
import { App } from "@app/App.tsx";
// run react scan tool in development mode only
// react scan must be the first import and the first line in this file in order to work properly
import.meta.env.VITE_DEBUG_SCAN &&
scan({
enabled: true,
});
const container = document.getElementById("root") as HTMLElement;
const root = createRoot(container);