Skip to content

Commit

Permalink
Fix empty Filters modal (#5065)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilluminate committed Jul 8, 2024
1 parent 890619b commit f5bc35b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clients/admin-ui/src/features/datamap/modals/FilterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ interface FilterModalProps {
const FilterModal: React.FC<FilterModalProps> = ({ isOpen, onClose }) => {
const { tableInstance } = useContext(DatamapTableContext);

const headerGroups = useMemo(
() => tableInstance?.getHeaderGroups() || [],
[tableInstance]
);
const headerGroups = tableInstance?.getHeaderGroups();

const renderHeaderFilter = (
headers: Header<DatamapRow, unknown>[],
Expand Down

0 comments on commit f5bc35b

Please sign in to comment.