mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
ad478f8393
The conditions `isUnlocked` and `!isUnlocked` did account for all cases, so any branches after that were unreachable.
15 lines
362 B
JavaScript
15 lines
362 B
JavaScript
import { connect } from 'react-redux'
|
|
import FirstTimeFlowSwitch from './first-time-flow-switch.component'
|
|
|
|
const mapStateToProps = ({ metamask }) => {
|
|
const { completedOnboarding, isInitialized, isUnlocked } = metamask
|
|
|
|
return {
|
|
completedOnboarding,
|
|
isInitialized,
|
|
isUnlocked,
|
|
}
|
|
}
|
|
|
|
export default connect(mapStateToProps)(FirstTimeFlowSwitch)
|