chore(app): allow clean development benchmarks

This commit is contained in:
LukeParkerDev 2026-06-14 22:54:31 +02:00
parent eb79d58671
commit 77848d3a55

View file

@ -2366,7 +2366,7 @@ export default function Layout(props: ParentProps) {
{props.children}
</Show>
</main>
{import.meta.env.DEV && <DebugBar />}
{import.meta.env.DEV && import.meta.env.VITE_DISABLE_DEBUG_BAR !== "1" && <DebugBar />}
<HelpButton />
<ToastRegion v2={newDesign()} />
</div>
@ -2519,7 +2519,7 @@ export default function Layout(props: ParentProps) {
</div>
</div>
</div>
{import.meta.env.DEV && <DebugBar />}
{import.meta.env.DEV && import.meta.env.VITE_DISABLE_DEBUG_BAR !== "1" && <DebugBar />}
</div>
<HelpButton />
<ToastRegion v2={newDesign()} />