fix: docs update debug project tree

This commit is contained in:
2026-04-27 11:57:21 +02:00
parent 5569da07c1
commit 5402c343fa
6 changed files with 183 additions and 172 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
import { lazy } from "react";
import { Suspense, lazy } from "react";
import { Debug } from "@/utils/debug/Debug";
const Perf = lazy(() => import("r3f-perf").then((m) => ({ default: m.Perf })));
@@ -10,5 +10,9 @@ export function DebugPerf(): React.JSX.Element | null {
return null;
}
return <Perf position="bottom-right" />;
return (
<Suspense fallback={null}>
<Perf position="bottom-right" />
</Suspense>
);
}