mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Добавлена первичная вёрстка для профиля пользователя
This commit is contained in:
@@ -2,6 +2,8 @@ import React, { Component } from 'react';
|
||||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import ProfilePage from 'pages/profile/ProfilePage';
|
||||
|
||||
import authFlow from 'services/authFlow';
|
||||
|
||||
class IndexPage extends Component {
|
||||
@@ -14,14 +16,9 @@ class IndexPage extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const {user, children} = this.props;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>
|
||||
Hello {user.username}!
|
||||
</h1>
|
||||
{children}
|
||||
<ProfilePage {...this.props} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user