Skip to content

Commit

Permalink
[DDW-345] Disable Yoroi Shelley wallet restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
thedanheller committed Aug 7, 2020
1 parent f728190 commit 4889784
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ export default class WalletTypeDialog extends Component<Props, State> {
}
return {
key: kind,
disabled: !isShelleyActivated && kind.includes('Shelley'),
disabled:
(!isShelleyActivated && kind.includes('Shelley')) ||
kind === WALLET_YOROI_KINDS.SHELLEY_15_WORD,
label: <FormattedHTMLMessage {...msg} />,
selected: value === kind,
onChange: () => this.props.onSetWalletKind(kind, kindParam),
Expand Down

0 comments on commit 4889784

Please sign in to comment.