Removed tooltip for now

This commit is contained in:
2024-10-06 16:01:57 +02:00
parent 0810a81f3a
commit 49b99b1bc4
3 changed files with 8 additions and 65 deletions
+1 -5
View File
@@ -1,5 +1,5 @@
import { IconLayer, ScatterplotLayer } from 'deck.gl';
import { useEffect, useRef, useState } from 'react';
import { IconLayer, ScatterplotLayer } from 'deck.gl';
import { StringifiedPinIcon } from '@/assets/PinIcon';
export const useData = () => {
@@ -24,8 +24,6 @@ export const useData = () => {
zoom: 5,
});
const [clickedItem, setClickedItem] = useState(null);
useEffect(() => {
if ('geolocation' in navigator == false) {
setCanUseGeolocation(false);
@@ -121,8 +119,6 @@ export const useData = () => {
geoError,
layers,
canUseGeolocation,
clickedItem,
setClickedItem,
isAddLoveOpened,
setIsAddLoveOpened,
isLoading,