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:29:21 +00:00
co-authored by renee-png
parent 36ff952744
commit 5158d11791
2 changed files with 5 additions and 10 deletions
+5 -1
View File
@@ -1,8 +1,10 @@
import { Link, useLocation, useNavigate } from "@tanstack/react-router";
import { useAuth } from "@/lib/auth";
import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { HeaderTimer } from "@/components/timer/header-timer";
import { QuickAddTime, QuickAddExpense } from "@/components/quick-add/quick-add";
import { supabase } from "@/integrations/supabase/client";
import {
Briefcase,
Users,
@@ -17,9 +19,10 @@ import {
FolderArchive,
ClipboardList,
Contact,
MessageSquare,
} from "lucide-react";
import { cn } from "@/lib/utils";
import type { ReactNode } from "react";
import { useEffect, useState, useCallback, type ReactNode } from "react";
interface NavItem {
to: string;
@@ -33,6 +36,7 @@ const NAV: NavItem[] = [
{ to: "/clients", label: "Clients", icon: Users },
{ to: "/cases", label: "Cases", icon: Briefcase },
{ to: "/contacts", label: "Contacts", icon: Contact },
{ to: "/messages", label: "Messages", icon: MessageSquare },
{ to: "/status", label: "Status Updates", icon: ClipboardList },
{ to: "/collections", label: "Collections", icon: Wallet },
{ to: "/documents", label: "Documents", icon: FileSignature },
-9
View File
@@ -574,12 +574,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>>
}
}