Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

router.tsx

10 lines239 Bytes

1import { createRouter } from '@tanstack/react-router'
2import { routeTree } from './routeTree.gen'
3​
4export const getRouter = () => {
5 return createRouter({
6 routeTree,
7 scrollRestoration: true,
8 defaultPreloadStaleTime: 0,
9 })