aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-04-13 13:36:12 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-04-13 13:36:12 +0200
commit32bc4914759845516de2b7592b05afb3c3cc5c42 (patch)
treee1a0c6a91cd966444e4b74a3d596d9c533ac5633 /src
parentf5613dd62ffc00b8226b9c47dfe8da7a91a40e12 (diff)
Fix build error
Diffstat (limited to 'src')
-rw-r--r--src/controls/LocateControl.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/controls/LocateControl.ts b/src/controls/LocateControl.ts
index 8153cf1..b8c2d1d 100644
--- a/src/controls/LocateControl.ts
+++ b/src/controls/LocateControl.ts
@@ -26,10 +26,6 @@ export const EnhancedLocateControl = (props: EnhancedLocateControlProps) => {
console.error('Error en la localización:', err);
setLocationPermission(false);
},
- onLocationFound: (e) => {
- setUserLocation([e.latitude, e.longitude]);
- setLocationPermission(true);
- },
returnToPrevBounds: true,
showPopup: false,
};