1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/ui/app/pages/first-time-flow/first-time-flow-switch/first-time-flow-switch.container.js
Mark Stacey 3dbf5dbf65
Fix lint error (#9806)
A lint error was accidentally introduced recently when two PRs changed
the same area of code (#9793 and #9795). They didn't conflict, and the
lint passed for both, but when combined they left an unused variable.
2020-11-05 17:07:19 -03:30

14 lines
334 B
JavaScript

import { connect } from 'react-redux'
import FirstTimeFlowSwitch from './first-time-flow-switch.component'
const mapStateToProps = ({ metamask }) => {
const { completedOnboarding, isInitialized } = metamask
return {
completedOnboarding,
isInitialized,
}
}
export default connect(mapStateToProps)(FirstTimeFlowSwitch)