mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
23 lines
478 B
JavaScript
23 lines
478 B
JavaScript
import React, { Component } from 'react';
|
|
|
|
import ProfilePage from 'pages/profile/ProfilePage';
|
|
import Profile from 'components/profile/Profile';
|
|
|
|
class IndexPage extends Component {
|
|
displayName = 'IndexPage';
|
|
|
|
render() {
|
|
return (
|
|
<ProfilePage>
|
|
<Profile {...this.props} />
|
|
</ProfilePage>
|
|
);
|
|
}
|
|
}
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
export default connect((state) => ({
|
|
user: state.user
|
|
}))(IndexPage);
|