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/useReverseGeocode.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a6dd747290
commit
18468d10e6
@ -93,7 +93,6 @@ export function useReverseGeocode(
|
||||
const errorMessage = err instanceof Error ? err.message : 'Unknown error occurred'
|
||||
setError(errorMessage)
|
||||
setAddress('')
|
||||
throw err
|
||||
} finally {
|
||||
setLoading(false)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user