diff --git a/nextjs-end/src/lib/firebase/auth.js b/nextjs-end/src/lib/firebase/auth.js index 362984b30..ae72946b3 100644 --- a/nextjs-end/src/lib/firebase/auth.js +++ b/nextjs-end/src/lib/firebase/auth.js @@ -22,7 +22,7 @@ export async function signInWithGoogle() { export async function signOut() { try { - return auth.signOut(); + await auth.signOut(); } catch (error) { console.error("Error signing out with Google", error); }