Update tanstack-devtools.tsx

This commit is contained in:
Nate Kelley 2025-09-04 14:36:52 -06:00
parent f80bb3b790
commit 5e555f025d
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 1 deletions

View File

@ -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