feat: add the map

This commit is contained in:
2026-04-15 16:09:02 +02:00
parent f67799db30
commit d486f6f381
26 changed files with 391 additions and 587 deletions
-1
View File
@@ -1 +0,0 @@
// src/utils/Debug.ts
-11
View File
@@ -1,11 +0,0 @@
import { Suspense, lazy } from "react";
const Perf = lazy(() => import("r3f-perf").then((m) => ({ default: m.Perf })));
export function DebugPerf() {
const debug = new URLSearchParams(window.location.search).has("debug");
if (!debug) return null;
return (
<Suspense fallback={null}>
<Perf position="top-left" />
</Suspense>
);
}