From e613202d32f82e45d1cdf361de5ba022c60e7720 Mon Sep 17 00:00:00 2001 From: jackson Date: Thu, 4 Jul 2024 12:29:00 +0100 Subject: [PATCH] Closing filters on apply --- src/components/FlightFlagger/FlightFlaggerFilters.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FlightFlagger/FlightFlaggerFilters.tsx b/src/components/FlightFlagger/FlightFlaggerFilters.tsx index 02ff551..dd63676 100644 --- a/src/components/FlightFlagger/FlightFlaggerFilters.tsx +++ b/src/components/FlightFlagger/FlightFlaggerFilters.tsx @@ -57,6 +57,7 @@ export const FlightFlaggerFilters = ({nationalities, ageGroups, submitCallback, selectedNationalities: nationalityPayload, selectedAgeGroups: ageGroupPayload, }); + setShowFilters(!showFilters) } const handleCheckboxChange = (event: React.ChangeEvent) => {