kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
fix: set error if prefix is different than nsec
rodzic
315d570645
commit
b91a02b75f
|
@ -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');
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue