usehooks
usehooks copied to clipboard
useGeolocation in navigator.geolocation.clearWatch bug
navigator.geolocation.clearWatch is not a function please fix this bug
@kysemon
I think that you'd better describe your environment.
It works well in my project. Here is my package.json
{
"name": "react-hook-form-pr-test",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@uidotdev/usehooks": "^2.4.1",
"i": "^0.3.7",
"next": "15.1.7",
"npm": "^11.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hook-form": "^7.54.2"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.1.7",
"typescript": "^5"
}
}