⚡ Removed tooltip for now
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user