From 718e8396e4ffa5d347232198e1474cbc6b43ecc1 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Mon, 24 Nov 2025 22:51:59 +0100 Subject: [PATCH] (fix) after bill edit redirect back to same year month --- app/lib/actions/billActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/actions/billActions.ts b/app/lib/actions/billActions.ts index 05ad9aa..2990179 100644 --- a/app/lib/actions/billActions.ts +++ b/app/lib/actions/billActions.ts @@ -280,7 +280,7 @@ export const updateOrAddBill = withUser(async (user:AuthenticatedUser, locationI } if(billYear && billMonth) { const locale = await getLocale(); - await gotoHomeWithMessage(locale, 'billSaved'); + await gotoHomeWithMessage(locale, 'billSaved', { year: billYear, month: billMonth }); } // This return is needed for TypeScript, but won't be reached due to redirect