2 Commits
0.2.1 ... 0.2.2

Author SHA1 Message Date
Alexis
de23dfcc7a Merge branch 'dev' into main 2023-05-01 15:13:22 +02:00
Alexis
59130c1d9b Honestly f this warning 2023-05-01 15:13:17 +02:00

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;