B1: React Query deeper adoption (P1–P3) #86

Closed
null wants to merge 340 commits from branch/b1-react-query into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8efb7c934d - Show all commits

View File

@ -1337,7 +1337,7 @@ function Row({ row, year, month, refresh, index, onEditBill }) {
setShowUpdateNudge(false);
startTransition(async () => {
try {
await api.updateBill(row.id, { expected_amount: amount });
await api.updateBill(row.id, { name: row.name, due_day: row.due_day, expected_amount: amount });
toast.success(`Default updated to ${fmt(amount)}`);
refresh?.();
} catch (err) {