diff --git a/src/components/app-shell.tsx b/src/components/app-shell.tsx index 9701a8f..55fae2a 100644 --- a/src/components/app-shell.tsx +++ b/src/components/app-shell.tsx @@ -15,6 +15,7 @@ import { Settings, Wallet, FileSignature, + FolderArchive, } from "lucide-react"; import { cn } from "@/lib/utils"; import type { ReactNode } from "react"; @@ -32,6 +33,7 @@ const NAV: NavItem[] = [ { to: "/cases", label: "Cases", icon: Briefcase }, { to: "/collections", label: "Collections", icon: Wallet }, { to: "/documents", label: "Documents", icon: FileSignature }, + { to: "/files", label: "Files", icon: FolderArchive }, { to: "/invoices", label: "Invoices", icon: Receipt }, { to: "/admin/users", label: "Users", icon: ShieldCheck, adminOnly: true }, { to: "/settings", label: "Settings", icon: Settings, adminOnly: true }, diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 3fdecba..dfd6339 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -490,12 +490,3 @@ const rootRouteChildren: RootRouteChildren = { export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() - -import type { getRouter } from './router.tsx' -import type { createStart } from '@tanstack/react-start' -declare module '@tanstack/react-start' { - interface Register { - ssr: true - router: Awaited> - } -}