2018-08-30 14:25:33 +00:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
|
import * as actionCreators from '../actions';
|
|
|
|
|
import App from '../components/App';
|
|
|
|
|
|
|
|
|
|
const mapStateToProps = (state) => {
|
2019-01-25 12:18:05 +00:00
|
|
|
const { dashboard, encryption } = state;
|
|
|
|
|
const props = { dashboard, encryption };
|
2018-08-30 14:25:33 +00:00
|
|
|
return props;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default connect(
|
|
|
|
|
mapStateToProps,
|
|
|
|
|
actionCreators,
|
|
|
|
|
)(App);
|