()
| 4 | import { NotFound } from './components/NotFound' |
| 5 | |
| 6 | export function getRouter() { |
| 7 | const router = createRouter({ |
| 8 | routeTree, |
| 9 | defaultPreload: 'intent', |
| 10 | defaultErrorComponent: DefaultCatchBoundary, |
| 11 | defaultNotFoundComponent: () => <NotFound />, |
| 12 | scrollRestoration: true, |
| 13 | }) |
| 14 | |
| 15 | return router |
| 16 | } |
nothing calls this directly
no test coverage detected