diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-03-29 04:21:53 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-03-29 04:23:50 +0800 |
commit | 58f52b2b8de9efd43896e23ab0ac9972f45bb278 (patch) | |
tree | cb1cca580f1ea1986eeb82b3271a5f013b3e6498 /ui/app/welcome-screen.js | |
parent | 6f367a5a6b4fb8918405f233293dc3f4840b4a3d (diff) | |
download | tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.gz tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.bz2 tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.lz tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.xz tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.zst tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.zip |
Fix merge conflicts. Refactor onboarding flow.
Diffstat (limited to 'ui/app/welcome-screen.js')
-rw-r--r-- | ui/app/welcome-screen.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/welcome-screen.js b/ui/app/welcome-screen.js index cdbb6dba8..f32491b0d 100644 --- a/ui/app/welcome-screen.js +++ b/ui/app/welcome-screen.js @@ -5,19 +5,22 @@ import PropTypes from 'prop-types' import {connect} from 'react-redux' import {closeWelcomeScreen} from './actions' import Mascot from './components/mascot' +import { INITIALIZE_ROUTE } from './routes' class WelcomeScreen extends Component { static propTypes = { closeWelcomeScreen: PropTypes.func.isRequired, + history: PropTypes.object, } - constructor(props) { + constructor (props) { super(props) this.animationEventEmitter = new EventEmitter() } initiateAccountCreation = () => { this.props.closeWelcomeScreen() + this.props.history.push(INITIALIZE_ROUTE) } render () { |