1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/app/helpers/higher-order-components/initialized/initialized.container.js

15 lines
290 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import Initialized from './initialized.component';
2020-02-15 21:34:12 +01:00
const mapStateToProps = (state) => {
2020-11-03 00:41:28 +01:00
const {
metamask: { completedOnboarding },
} = state;
return {
completedOnboarding,
};
};
export default connect(mapStateToProps)(Initialized);