Skip to content

Commit 7b81e87

Browse files
committed
chore: add to example
1 parent 5d14ddc commit 7b81e87

File tree

1 file changed

+2
-0
lines changed
  • examples/react/kitchen-sink-file-based/src/routes

1 file changed

+2
-0
lines changed

examples/react/kitchen-sink-file-based/src/routes/__root.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
} from '@tanstack/react-router'
88
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
99
import { Spinner } from '../components/Spinner'
10+
import { Breadcrumbs } from '../components/Breadcrumbs'
1011
import type { Auth } from '../utils/auth'
1112

1213
function RouterSpinner() {
@@ -26,6 +27,7 @@ function RootComponent() {
2627
<div className={`min-h-screen flex flex-col`}>
2728
<div className={`flex items-center border-b gap-2`}>
2829
<h1 className={`text-3xl p-2`}>Kitchen Sink</h1>
30+
<Breadcrumbs />
2931
{/* Show a global spinner when the router is transitioning */}
3032
<div className={`text-3xl`}>
3133
<RouterSpinner />

0 commit comments

Comments
 (0)