Skip to content

Commit 975532c

Browse files
committed
Preserve heatmap zoom on reduce
1 parent b8cc7d3 commit 975532c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/HeatmapPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function HeatmapMap({
310310
return () => {
311311
map.off('load', applyBounds);
312312
};
313-
}, [boundsPoints, reducedComplexity]);
313+
}, [boundsPoints]);
314314

315315
return <div ref={containerRef} className="h-full w-full" />;
316316
}

0 commit comments

Comments
 (0)