Force map fetch on time filter change
This commit is contained in:
parent
9014189e73
commit
d7700b154b
|
|
@ -433,6 +433,11 @@ export function usePostsEngine({
|
|||
replacePoolRef.current = true;
|
||||
if (map) {
|
||||
map.__swForceFetchAt = Date.now();
|
||||
setTimeout(() => {
|
||||
try {
|
||||
map.fire("moveend");
|
||||
} catch {}
|
||||
}, 60);
|
||||
}
|
||||
}, [mainFilter, subFilter, timeFilter, mapRef]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue