Force map fetch on time filter change

This commit is contained in:
Your Name 2025-12-30 17:50:02 -05:00
parent 9014189e73
commit d7700b154b
1 changed files with 5 additions and 0 deletions

View File

@ -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]);