mirror of https://github.com/buster-so/buster.git
Update tanstack-devtools.tsx
This commit is contained in:
parent
f80bb3b790
commit
5e555f025d
|
@ -5,7 +5,7 @@ import { isDev } from '@/config/dev';
|
|||
import { isServer } from '@/lib/window';
|
||||
|
||||
const ENABLE_TANSTACK_PANEL =
|
||||
(process.env.VITE_ENABLE_TANSTACK_PANEL === 'true' || isDev) && !isServer;
|
||||
(process.env.VITE_PUBLIC_ENABLE_TANSTACK_PANEL === 'true' || isDev) && !isServer;
|
||||
|
||||
// Lazy load the actual devtools component - only if not SSR
|
||||
const LazyTanstackDevtools = !isServer
|
||||
|
|
Loading…
Reference in New Issue