From 7bc546b69bc2d6f647f1763ad7c39fce6d8421dd Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 21:33:36 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/index.tsx | 87 +++++++++++++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 29 deletions(-) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index ad081fa..8d4fee9 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -183,36 +183,65 @@ function Dashboard() { - {/* Recent payments (moved to top) */} - - - - - 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)} + {/* Recent payments + Upcoming reminders */} +
+ + + + + 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} -
- - ))} - - +
+ {formatCurrency((p.total_amount_cents ?? 0) / 100)} + {p.status} +
+ + ))} + + + + + + + + Upcoming reminders + + + + {upcomingReminders.length === 0 && ( +

No upcoming reminders.

+ )} + {upcomingReminders.map((r: any) => ( + +
{r.task?.title ?? "Task"}
+
+ {format(new Date(r.remind_at), "MMM d, h:mm a")} · {r.recipient_email} +
+ + ))} +
+
+
{/* Financial + My tasks */}