We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51da18 commit ca0967fCopy full SHA for ca0967f
src/App.jsx
@@ -45,6 +45,7 @@ function App() {
45
const updateLocation = () => {
46
if (lat === null || long === null) {
47
navigator.geolocation.getCurrentPosition((position) => {
48
+ setHasAllowedGeolocation(true);
49
setLat(position.coords.latitude);
50
setLong(position.coords.longitude);
51
setHeading(position.coords.heading);
@@ -53,6 +54,7 @@ function App() {
53
54
}
55
setTimeout(() => {
56
57
58
59
60
0 commit comments