diff --git a/client/src/hooks/use-apply-map-location.ts b/client/src/hooks/use-apply-map-location.ts index 190742a..377a996 100644 --- a/client/src/hooks/use-apply-map-location.ts +++ b/client/src/hooks/use-apply-map-location.ts @@ -35,5 +35,5 @@ export default function useApplyMapLocation(map: MapRef | null) { map.fitBounds(bounds); triggerFitBoundsRef.current = false; } - }, [map, location, previousLocation, data, isLoading]); + }, [map, location, previousLocation, bounds]); }