fix: remove duplicate/early refetch calls in BillModal sync flow

This commit is contained in:
null 2026-06-04 01:38:14 -05:00
parent 48f5577031
commit 52af533845
1 changed files with 0 additions and 2 deletions

View File

@ -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?.();
}}
/>