diff --git a/src/components/AuthComponent.vue b/src/components/AuthComponent.vue
index 0ce1f2a..1a4e92e 100644
--- a/src/components/AuthComponent.vue
+++ b/src/components/AuthComponent.vue
@@ -24,10 +24,10 @@ async function signInWithGoogle() {
await signInWithRedirect(auth, provider)
}
-async function signInAsGuest(auth) {
+async function signInAsGuest() {
isAuthLoading.value = true
signInAnonymously(auth)
- .then((result) => {
+ .then(() => {
// Signed in..
isAuthLoading.value = false
console.log('Successfully logged in as guest !')
@@ -49,7 +49,6 @@ getRedirectResult(auth)
// The signed-in user info.
googleUser.value = result.user;
isAuthLoading.value = false
-
console.log('Successfully logged in !')
}).catch((error) => {
@@ -114,7 +113,6 @@ getRedirectResult(auth)
Certaines fonctionnalités avancées ne seront pas disponibles.
-
@@ -123,8 +121,9 @@ getRedirectResult(auth)