diff options
Diffstat (limited to 'mascara/src/app/first-time/backup-phrase-screen.js')
-rw-r--r-- | mascara/src/app/first-time/backup-phrase-screen.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mascara/src/app/first-time/backup-phrase-screen.js b/mascara/src/app/first-time/backup-phrase-screen.js index 52ec7930..fdbba655 100644 --- a/mascara/src/app/first-time/backup-phrase-screen.js +++ b/mascara/src/app/first-time/backup-phrase-screen.js @@ -56,12 +56,13 @@ class BackupPhraseScreen extends Component { }; constructor(props) { + const {seedWords} = props super(props) this.state = { isShowingSecret: false, page: BackupPhraseScreen.PAGE.SECRET, selectedSeeds: [], - shuffledSeeds: shuffle(props.seedWords.split(' ')), + shuffledSeeds: seedWords && shuffle(seedWords.split(' ')), } } |