Skip to content

Commit

Permalink
TNO-2690 Bug (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtoombs authored Jul 10, 2024
1 parent b257459 commit 52a058c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ export const FilterOptions: React.FC<IMediaTypeFiltersProps> = ({ filterStoreNam
setActive(userInfo.preferences.filterPreference);
handleFilterClick(userInfo.preferences.filterPreference);
}
}, [userInfo?.preferences?.filterPreference, handleFilterClick]);

// eslint-disable-next-line react-hooks/exhaustive-deps
}, [userInfo?.preferences?.filterPreference]);

const filters = [
{ type: FilterOptionTypes.Papers, label: 'PAPERS', icon: <FaNewspaper /> },
Expand Down

0 comments on commit 52a058c

Please sign in to comment.