fix suggested

This commit is contained in:
null 2026-05-28 02:53:59 -05:00
parent 8122d07069
commit 8efb7c934d
1 changed files with 1 additions and 1 deletions

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) {