Honestly f this warning

This commit is contained in:
Alexis
2023-05-01 15:13:17 +02:00
parent 7531b4766d
commit 59130c1d9b

View File

@@ -30,7 +30,6 @@ onMounted(() => {
function acceptGeoloc() { function acceptGeoloc() {
navigator.permissions.query({ name: "geolocation" }).then((result) => { navigator.permissions.query({ name: "geolocation" }).then((result) => {
console.log(result.state);
if (result.state === "granted" || result.state === "prompt") { if (result.state === "granted" || result.state === "prompt") {
hasAcceptedGeoloc.value = true; hasAcceptedGeoloc.value = true;
hasRefusedGeoloc.value = false; hasRefusedGeoloc.value = false;