close automatically recovery modal only on error
This commit is contained in:
parent
69a193a5c0
commit
1ceaa481a9
|
@ -44,7 +44,6 @@ function RecoveryKeyModal({ somethingWentWrong, ...props }: Props) {
|
|||
setRecoveryKey(bip39.entropyToMnemonic(recoveryKey));
|
||||
} catch (e) {
|
||||
somethingWentWrong();
|
||||
} finally {
|
||||
props.onHide();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue