You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Nuxt's clearNuxtState method returns an error:
storage.mjs:124 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'loggedIn')
at storage.mjs:124:40
at callWithErrorHandling (runtime-core.esm-bundler.js:158:32)
at getter (runtime-core.esm-bundler.js:1769:22)
at ReactiveEffect.getter [as fn] (runtime-core.esm-bundler.js:1792:29)
at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
at job (runtime-core.esm-bundler.js:1826:31)
at flushPreFlushCbs (runtime-core.esm-bundler.js:309:7)
at updateComponentPreRender (runtime-core.esm-bundler.js:5916:5)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5834:11)
at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
Additional context
Part of my logout sequence, I call useAuth().reset(), then clearNuxtData() & clearNuxtState(). clearNuxtState is what causes this issue here:
Environment
Nuxt Config
Reproduction
Describe the bug
Using Nuxt's
clearNuxtState
method returns an error:Additional context
Part of my logout sequence, I call
useAuth().reset()
, thenclearNuxtData()
&clearNuxtState()
.clearNuxtState
is what causes this issue here:auth/src/runtime/core/storage.ts
Line 161 in 946768b
Logs
No response
The text was updated successfully, but these errors were encountered: