Clear meta.pubkey after verify_credentials

This commit is contained in:
Alex Gleason 2024-10-22 20:11:33 -05:00
parent b032b47359
commit 32e305d1c6
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 3 additions and 3 deletions

View File

@ -27,10 +27,10 @@ function logInNostr(pubkey: string) {
secret,
}));
dispatch(setNostrPubkey(undefined));
const { access_token } = dispatch(authLoggedIn(token));
return await dispatch(verifyCredentials(access_token as string));
await dispatch(verifyCredentials(access_token as string));
dispatch(setNostrPubkey(undefined));
};
}