mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
Update lib/src/Components/Map/hooks/useGeoDistance.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
18468d10e6
commit
5ed20eebbf
@ -45,7 +45,6 @@ export const useGeoDistance = (targetPoint?: Point) => {
|
||||
setDistance(dist)
|
||||
} catch (err) {
|
||||
setError('Calculation error')
|
||||
throw err
|
||||
}
|
||||
}, [myProfile, isMyProfileLoaded, targetPoint])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user