Skip to content

Commit

Permalink
chore: simplify timout
Browse files Browse the repository at this point in the history
  • Loading branch information
ob6160 authored and Rupert Redington committed Nov 22, 2021
1 parent 6d47244 commit 24e7d9a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/LooMap/Markers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ const Markers = ({ filters = [] }) => {
}
return p;
}, [] as Array<FILTER_TYPE>);
if (typeof window !== 'undefined') {
window.setTimeout(() => {
setAppliedFilters(bitmask);
}, 500);
}

window.setTimeout(() => {
setAppliedFilters(bitmask);
}, 200);
}, [filters]);

const filteredLooGroups = useMemo(() => {
Expand Down

0 comments on commit 24e7d9a

Please sign in to comment.