diff --git a/src/components/cases/expenses-tab.tsx b/src/components/cases/expenses-tab.tsx index 8affb91..4bc0889 100644 --- a/src/components/cases/expenses-tab.tsx +++ b/src/components/cases/expenses-tab.tsx @@ -152,7 +152,7 @@ export function CaseExpensesTab({ caseId }: { caseId: string }) { ...f, amount: String(fee.amount), billable: fee.billable, - description: f.description || fee.description || fee.name, + description: fee.description || fee.name, })); } }} diff --git a/src/components/cases/time-tab.tsx b/src/components/cases/time-tab.tsx index 558410b..7dd2950 100644 --- a/src/components/cases/time-tab.tsx +++ b/src/components/cases/time-tab.tsx @@ -177,7 +177,7 @@ export function CaseTimeTab({ caseRecord, onInvoice }: CaseTimeTabProps) { ...f, hourly_rate: String(fee.amount), billable: fee.billable, - description: f.description || fee.description || fee.name, + description: fee.description || fee.name, })); } }} diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 7539be3..8921027 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -952,12 +952,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> - } -}