Skip to content

Commit

Permalink
fix: update dependency array
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Apr 16, 2024
1 parent 4a0be4e commit b2f9d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/map/map-results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function MapWithResults({
.addTo(map.current);
});
});
}, [lng, lat, zoom, results, shouldColorZipCode]);
}, [results, shouldColorZipCode]);

return (
<div
Expand Down

0 comments on commit b2f9d3d

Please sign in to comment.