Files
gemini-nexus/src/utils/routes.ts
T

17 lines
367 B
TypeScript

import { routeTree } from '@/routeTree.gen';
import { createMemoryHistory, createRouter } from '@tanstack/react-router';
declare module '@tanstack/react-router' {
interface Register {
router: typeof router;
}
}
export const router = createRouter({
defaultPendingMinMs: 0,
routeTree,
history: createMemoryHistory({
initialEntries: ['/'],
}),
});