Exclude Devtools

This commit is contained in:
2024-07-24 01:29:53 +02:00
parent 1b62b890b9
commit dd48f72c42
4 changed files with 166 additions and 619 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export const Route = createRootRouteWithContext<{ queryClient: QueryClient }>()(
Home
</Link>
<Outlet />
<TanStackRouterDevtools />
{process.env.NODE_ENV === 'development' && <TanStackRouterDevtools />}
</>
),
});