Closed rscorer closed 2 years ago
Need to use Nuxt rc-6 to make this compile now
In index.vue when you sign out there is no session so the onAuthStateChange fails, simply change to this:
supabase.auth.onAuthStateChange((_, session) => { user.value = session?.user })
Need to use Nuxt rc-6 to make this compile now
In index.vue when you sign out there is no session so the onAuthStateChange fails, simply change to this: