Update lib/src/Components/Map/hooks/useGeoDistance.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Anton Tranelis 2025-10-10 20:18:57 +02:00 committed by GitHub
parent 18468d10e6
commit 5ed20eebbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,6 @@ export const useGeoDistance = (targetPoint?: Point) => {
setDistance(dist)
} catch (err) {
setError('Calculation error')
throw err
}
}, [myProfile, isMyProfileLoaded, targetPoint])