summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/use-geolocation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/use-geolocation.js b/src/use-geolocation.js
index 9ab3f99..2e46070 100644
--- a/src/use-geolocation.js
+++ b/src/use-geolocation.js
@@ -15,7 +15,7 @@ export const useGeolocation = () => {
timestamp: Date.now()
})
let mounted = true
- let watchId: any
+ let watchId
const onEvent = event => {
if (mounted) {