refactor(FE): Ensure filter modal closes on reset across components

This commit is contained in:
rstubryan
2026-02-25 16:30:31 +07:00
parent a89e83af29
commit 0031a65f97
9 changed files with 10 additions and 1 deletions
@@ -119,6 +119,7 @@ const CustomerPaymentTab = ({ tabId }: CustomerPaymentTabProps) => {
toast.dismiss();
setDateErrorShown(false);
}
filterModal.closeModal();
},
});
@@ -142,6 +142,7 @@ const DebtSupplierTab = ({ tabId }: DebtSupplierTabProps) => {
filter_by: undefined,
});
setIsSubmitted(false);
filterModal.closeModal();
},
});