badguardhome/client/src/containers/Dashboard.js
2018-08-30 17:25:33 +03:00

15 lines
339 B
JavaScript

import { connect } from 'react-redux';
import * as actionCreators from '../actions';
import Dashboard from '../components/Dashboard';
const mapStateToProps = (state) => {
const { dashboard } = state;
const props = { dashboard };
return props;
};
export default connect(
mapStateToProps,
actionCreators,
)(Dashboard);