···11-import { type FileRoutesByPath, Link } from "@tanstack/react-router";
11+import { Link } from "@tanstack/react-router";
22+import type { FileRoutesByTo } from "~/routeTree.gen";
23import { cn } from "~/lib/utils";
3445interface PaginationNavProps {
···67 prevOffset: number | null;
78 nextOffset: number | null;
89 search?: Record<string, unknown>;
99- to: keyof FileRoutesByPath;
1010+ to: keyof FileRoutesByTo;
1011}
11121213export function PaginationNav(props: PaginationNavProps) {