Skip to content

Commit 83cdf5e

Browse files
committed
actually settings accuracy
1 parent f6544d0 commit 83cdf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/routes/RoutePage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function RoutePage() {
8686

8787
function locationHandler(pos) {
8888
setTimeout(() => {
89-
setAccuracy();
89+
setAccuracy(pos.coords.accuracy);
9090
setAngle(
9191
getAngleFromLocationToDestination(
9292
pos.coords.latitude,

0 commit comments

Comments
 (0)