fix: removed react-scan due to issues with bluetooth

This commit is contained in:
Dan Ditomaso
2025-03-19 13:46:56 -04:00
parent ed13af2382
commit f54c0dd836
6 changed files with 31 additions and 71 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);