We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f55ba3d commit 2175871Copy full SHA for 2175871
src/components/points/DistanceComponent.jsx
@@ -8,7 +8,7 @@ function DistanceComponent({ data: { id = null, latitude, longitude, proximityTo
8
const { lat, long } = useContext(LatLongContext);
9
const distance = useMemo(
10
() => getDistanceBetweenCoordinates(lat, long, latitude, longitude),
11
- [lat, long, latitude, longitude]
+ [lat, long, latitude, longitude],
12
);
13
function unlockThisPoint() {
14
setListOfUnlocked([...listOfUnlocked, ...[id]]);
0 commit comments