@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
tsx 12 lines 310 Bytes
Raw
1 import { createRouter } from "@tanstack/react-router";
2 import { routeTree } from "./routeTree.gen";
3
4 export function getRouter() {
5 return createRouter({ routeTree, scrollRestoration: true });
6 }
7
8 declare module "@tanstack/react-router" {
9 interface Register {
10 router: ReturnType<typeof getRouter>;
11 }
12 }