usehooks icon indicating copy to clipboard operation
usehooks copied to clipboard

useGeolocation in navigator.geolocation.clearWatch bug

Open kysemon opened this issue 1 year ago • 1 comments

navigator.geolocation.clearWatch is not a function please fix this bug

kysemon avatar Jan 28 '25 13:01 kysemon

@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"
  }
}

candymask0712 avatar Feb 23 '25 10:02 candymask0712