diff options
author | Alexander Tseung <alextsg@gmail.com> | 2017-12-05 04:13:02 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2017-12-15 06:11:23 +0800 |
commit | 706a6b0ad6d7b6e2d56252f17713e63430d84abc (patch) | |
tree | f956746763dfe4d09388d261698edde88fea933e /mascara | |
parent | d9ea2df6c2a2cabedead09f90c3c9bb7b4c37dd1 (diff) | |
download | tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.gz tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.bz2 tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.lz tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.xz tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.zst tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.zip |
Add initialized checks for first time flow routes
Diffstat (limited to 'mascara')
-rw-r--r-- | mascara/src/app/first-time/confirm-seed-screen.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mascara/src/app/first-time/confirm-seed-screen.js b/mascara/src/app/first-time/confirm-seed-screen.js index 6b730a2f8..c9382689e 100644 --- a/mascara/src/app/first-time/confirm-seed-screen.js +++ b/mascara/src/app/first-time/confirm-seed-screen.js @@ -12,10 +12,10 @@ import { DEFAULT_ROUTE } from '../../../../ui/app/routes' class ConfirmSeedScreen extends Component { static propTypes = { - isLoading: PropTypes.bool.isRequired, - address: PropTypes.string.isRequired, + isLoading: PropTypes.bool, + address: PropTypes.string, seedWords: PropTypes.string, - confirmSeedWords: PropTypes.func.isRequired, + confirmSeedWords: PropTypes.func, history: PropTypes.object, }; @@ -28,7 +28,7 @@ class ConfirmSeedScreen extends Component { const { seedWords } = props this.state = { selectedSeeds: [], - shuffledSeeds: seedWords && shuffle(seedWords.split(' ')), + shuffledSeeds: seedWords && shuffle(seedWords.split(' ')) || [], } } |