diff --git a/client/src/components/molecules/NotificationFilterDropdown/index.tsx b/client/src/components/molecules/NotificationFilterDropdown/index.tsx index 61047b36..7fd549a0 100644 --- a/client/src/components/molecules/NotificationFilterDropdown/index.tsx +++ b/client/src/components/molecules/NotificationFilterDropdown/index.tsx @@ -97,11 +97,7 @@ const NotificationFilterDropdown: FC = (props): JSX.Element => { focus:border-primary focus:ring-1 focus:ring-primary `} id="filterStatus" - defaultValue={ - router.query.status !== undefined - ? router.query.status - : STATUS_OPTIONS.ALL.toLowerCase() - } + value={filters.status} onChange={(e) => handleStatusChange(e)} > {filterStatusOptions(statusOptions)} @@ -115,11 +111,7 @@ const NotificationFilterDropdown: FC = (props): JSX.Element => { focus:border-primary focus:ring-1 focus:ring-primary `} id="filterType" - defaultValue={ - router.query.type !== undefined - ? router.query.type - : TYPE_OPTIONS.ALL.toLowerCase() - } + value={filters.type} onChange={(e) => handleTypeChange(e)} > {filterTypeOptions(typeOptions)}