You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
431 B
21 lines
431 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import FirstTimeFlowSwitch from './first-time-flow-switch.component';
|
||
6 years ago
|
|
||
|
const mapStateToProps = ({ metamask }) => {
|
||
4 years ago
|
const {
|
||
|
completedOnboarding,
|
||
|
isInitialized,
|
||
|
isUnlocked,
|
||
|
seedPhraseBackedUp,
|
||
4 years ago
|
} = metamask;
|
||
6 years ago
|
|
||
|
return {
|
||
|
completedOnboarding,
|
||
|
isInitialized,
|
||
4 years ago
|
isUnlocked,
|
||
4 years ago
|
seedPhraseBackedUp,
|
||
4 years ago
|
};
|
||
|
};
|
||
6 years ago
|
|
||
4 years ago
|
export default connect(mapStateToProps)(FirstTimeFlowSwitch);
|