fix: processing events, stale sigits #227

Merged
b merged 2 commits from hotfix-processing-events-10-12 into staging 2024-10-12 11:18:46 +00:00
Showing only changes of commit 1d1986f082 - Show all commits

View File

@ -124,6 +124,9 @@ export const MainLayout = () => {
if (opts.type === 'login' || opts.type === 'signup') { if (opts.type === 'login' || opts.type === 'signup') {
dispatch(updateNostrLoginAuthMethod(opts.method)) dispatch(updateNostrLoginAuthMethod(opts.method))
login() login()
} else if (opts.type === 'logout') {
// Clear `subscribeForSigits` as called after the logout
hasSubscribed.current = false
} }
} }