badguardhome/client/src/containers/Dashboard.js

15 lines
339 B
JavaScript
Raw Normal View History

2018-08-30 14:25:33 +00:00
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);