Skip to content

Commit cd9888f

Browse files
committed
fix: update environment variable access method in main.tsx
1 parent 89960b0 commit cd9888f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { C } from "./configuration.ts";
1010
const queryClient = new QueryClient();
1111
const router = createRouter({ routeTree, context: { queryClient }, defaultPreload: "intent", defaultPreloadStaleTime: 0 });
1212
const TanStackRouterDevtools =
13-
process.env.NODE_ENV === "production"
13+
import.meta.env.NODE_ENV === "production"
1414
? () => null
1515
: React.lazy(() =>
1616
import("@tanstack/router-devtools").then((res) => ({

0 commit comments

Comments
 (0)