text: /**
   *
   * ProfilePage
   *
   */
  
  import React from 'react';
  import PropTypes from 'prop-types';
  import { connect } from 'react-redux';
  import { Helmet } from 'react-helmet';
  import { createStructuredSelector } from 'reselect';
  import { compose } from 'redux';
  
  import { useInjectSaga } from 'utils/injectSaga';
  import { useInjectReducer } from 'utils/injectReducer';
  import makeSelectProfilePage from './selectors';
  import reducer from './reducer';
  import saga from './saga';
  
  export function ProfilePage() {
    useInjectReducer({ key: 'profilePage', reducer });
    useInjectSaga({ key: 'profilePage', saga });
  
    return (
      <div>
        <Helmet>
          <title>ProfilePage</title>
          <meta name="description" content="Description of ProfilePage" />
        </Helmet>
        <h1>Profile</h1>
      </div>
    );
  }
  
  ProfilePage.propTypes = {
    dispatch: PropTypes.func.isRequired,
  };
  
  const mapStateToProps = createStructuredSelector({
    profilePage: makeSelectProfilePage(),
  });
  
  function mapDispatchToProps(dispatch) {
    return {
      dispatch,
    };
  }
  
  const withConnect = connect(
    mapStateToProps,
    mapDispatchToProps,
  );
  
  export default compose(withConnect)(ProfilePage);
  