mirror of
https://github.com/Xevion/banner.git
synced 2025-12-06 03:14:24 -06:00
fix: limit devtools panel to dev mode
This commit is contained in:
@@ -15,6 +15,7 @@ export const Route = createRootRoute({
|
|||||||
>
|
>
|
||||||
<Theme accentColor="blue" grayColor="gray">
|
<Theme accentColor="blue" grayColor="gray">
|
||||||
<Outlet />
|
<Outlet />
|
||||||
|
{import.meta.env.DEV ? (
|
||||||
<TanstackDevtools
|
<TanstackDevtools
|
||||||
config={{
|
config={{
|
||||||
position: "bottom-left",
|
position: "bottom-left",
|
||||||
@@ -26,6 +27,7 @@ export const Route = createRootRoute({
|
|||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
) : null}
|
||||||
</Theme>
|
</Theme>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user