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
@@ -142,6 +142,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
onReset: () => {
setFilterParams({});
setIsSubmitted(false);
filterModal.closeModal();
},
});
@@ -137,6 +137,7 @@ const HppPerKandangTab = ({ tabId }: HppPerKandangTabProps) => {
toast.dismiss();
setDateErrorShown(false);
}
filterModal.closeModal();
},
});