Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 02:13:19 +00:00
co-authored by renee-png
parent cc3aec5ef8
commit 3026511364
2 changed files with 2 additions and 9 deletions
+2
View File
@@ -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 },
-9
View File
@@ -490,12 +490,3 @@ const rootRouteChildren: RootRouteChildren = {
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>()
import type { getRouter } from './router.tsx'
import type { createStart } from '@tanstack/react-start'
declare module '@tanstack/react-start' {
interface Register {
ssr: true
router: Awaited<ReturnType<typeof getRouter>>
}
}