From 52af533845416a5629a558f06f3e10e0e7821cc0 Mon Sep 17 00:00:00 2001 From: null Date: Thu, 4 Jun 2026 01:38:14 -0500 Subject: [PATCH] fix: remove duplicate/early refetch calls in BillModal sync flow --- client/components/BillModal.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/components/BillModal.jsx b/client/components/BillModal.jsx index 9b4b91d..90b9878 100644 --- a/client/components/BillModal.jsx +++ b/client/components/BillModal.jsx @@ -1031,7 +1031,6 @@ export default function BillModal({ bill, initialBill, categories, onClose, onSa if (result.added > 0) { toast.success(`${result.added} payment${result.added !== 1 ? 's' : ''} imported from bank history.`); loadLinkedTransactions?.(); - refetch?.(); } else { toast.info('No new matching transactions found.'); } @@ -1059,7 +1058,6 @@ export default function BillModal({ bill, initialBill, categories, onClose, onSa billId={sourceBill?.id} onRulesChanged={() => { setLocalHasRules(true); - refetch?.(); loadLinkedTransactions?.(); }} />