diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 48eb065..0d0e9c0 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -316,6 +316,40 @@ function Dashboard() { + + + {/* Recent payments */} +
+ + + + + Recent payments + + + + + {recentPayments.length === 0 &&

No payment requests yet.

} + {recentPayments.map((p) => ( + +
+
{p.recipient_name}
+
+ {p.description || "Payment request"} ยท {formatDate(p.paid_at || p.created_at)} +
+
+
+ {formatCurrency((p.total_amount_cents ?? 0) / 100)} + {p.status} +
+ + ))} +
+
+
); }