Skip to content

Commit 7297df1

Browse files
committed
fix: router devtools in prod
1 parent b4c3109 commit 7297df1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/__root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import appCss from '~/styles/app.css?url'
1515
import carbonStyles from '~/styles/carbon.css?url'
1616
import { seo } from '~/utils/seo'
1717
import ogImage from '~/images/og.png'
18-
import { TanStackRouterDevtools } from '@tanstack/react-router-devtools'
18+
import { TanStackRouterDevtoolsInProd } from '@tanstack/react-router-devtools'
1919
import { NotFound } from '~/components/NotFound'
2020
import { CgSpinner } from 'react-icons/cg'
2121
import { DefaultCatchBoundary } from '~/components/DefaultCatchBoundary'
@@ -193,7 +193,7 @@ function RootDocument({ children }: { children: React.ReactNode }) {
193193
<BackgroundAnimation />
194194
<React.Suspense fallback={null}>{children}</React.Suspense>
195195
{showDevtools ? (
196-
<TanStackRouterDevtools position="bottom-right" />
196+
<TanStackRouterDevtoolsInProd position="bottom-right" />
197197
) : null}
198198
{canShowLoading ? (
199199
<div

0 commit comments

Comments
 (0)