From 5a89adadf5cca7a37ccec08b5cd3c0e7e7acca07 Mon Sep 17 00:00:00 2001 From: Steven Zhou Date: Mon, 4 Sep 2023 00:03:27 -0700 Subject: [PATCH] fixed eslint --- src/components/Map/Map.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Map/Map.jsx b/src/components/Map/Map.jsx index a860db6..905616b 100644 --- a/src/components/Map/Map.jsx +++ b/src/components/Map/Map.jsx @@ -215,7 +215,7 @@ export default function Map({ } const NewItemMarker = () => { - const map = useMapEvents({ + useMapEvents({ click(event) { setPosition(event.latlng); },