diff --git a/frontend/src/app/(app)/transactions/page.tsx b/frontend/src/app/(app)/transactions/page.tsx index 4ed9ed6..1edcd42 100644 --- a/frontend/src/app/(app)/transactions/page.tsx +++ b/frontend/src/app/(app)/transactions/page.tsx @@ -9,6 +9,7 @@ import { PageHeader } from "@/components/shared/PageHeader"; import { TransactionDrawer } from "@/components/transactions/TransactionDrawer"; import { TransactionFilters } from "@/components/transactions/TransactionFilters"; import { TransactionTable } from "@/components/transactions/TransactionTable"; +import { Alert, Badge, Button } from "@/components/ui"; import { useCategories } from "@/hooks/useCategories"; import { useLedger } from "@/hooks/useLedger"; import { @@ -145,8 +146,8 @@ export default function TransactionsPage() { buttonClassName="w-full px-3 py-2 sm:min-w-[190px] sm:w-auto" align="right" /> - + } /> {errorMessage ? ( -
+ {errorMessage} -
+ ) : null}
@@ -191,13 +192,10 @@ export default function TransactionsPage() { {Object.keys(totals.expenseByPerson).length ? (
{Object.entries(totals.expenseByPerson).map(([name, total]) => ( - + {name}:{" "} - {formatCurrency(total)} - + {formatCurrency(total)} + ))}
) : null} @@ -235,13 +233,15 @@ export default function TransactionsPage() { />
- +
- +