Merge branch 'fix-error-missing-invalid-nsec' into 'main'
Set error if prefix is different than nsec in nostr login See merge request soapbox-pub/soapbox!3021
This commit is contained in:
commit
d43e0bf068
|
@ -34,7 +34,9 @@ const KeyAddStep: React.FC<IKeyAddStep> = ({ onClose }) => {
|
|||
const pubkey = await signer.getPublicKey();
|
||||
dispatch(logInNostr(pubkey));
|
||||
onClose();
|
||||
return;
|
||||
}
|
||||
setError('Invalid nsec');
|
||||
} catch (e) {
|
||||
setError('Invalid nsec');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue