/** * * EditPage * */ import React from 'react'; // import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Helmet } from 'react-helmet'; import { createStructuredSelector } from 'reselect'; import { bindActionCreators, compose } from 'redux'; import injectSaga from 'utils/injectSaga'; import injectReducer from 'utils/injectReducer'; import makeSelectEditPage from './selectors'; import reducer from './reducer'; import saga from './saga'; export class EditPage extends React.Component { // eslint-disable-line react/prefer-stateless-function render() { return (
EditPage
); } } EditPage.propTypes = { }; const mapStateToProps = createStructuredSelector({ editpage: makeSelectEditPage(), }); function mapDispatchToProps(dispatch) { return bindActionCreators( {}, dispatch ); } const withConnect = connect(mapStateToProps, mapDispatchToProps); /* Remove this line if the container doesn't have a route and * check the documentation to see how to create the container's store */ const withReducer = injectReducer({ key: 'editPage', reducer }); /* Remove the line below the container doesn't have a route and * check the documentation to see how to create the container's store */ const withSaga = injectSaga({ key: 'editPage', saga }); export default compose( withReducer, withSaga, withConnect, )(EditPage);