Another large update for all components
reorganization, linting, updating file imports, consolidation warning: there will be errors in this commit todo: update webpack, add missing styles, scss files, consolidate group page components.
This commit is contained in:
@@ -4,7 +4,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
import HeaderContainer from '../features/account_timeline/containers/header_container';
|
||||
import {WhoToFollowPanel, SignUpPanel} from '../components/panel';
|
||||
import LinkFooter from '../components/link_footer';
|
||||
import ProfileInfoPanel from '../features/account_timeline/components/profile_info_panel';
|
||||
import ProfileInfoPanel from '../features/account_timeline/components/profile_info_panel/profile_info_panel';
|
||||
import ColumnsArea from '../components/columns_area';
|
||||
|
||||
const mapStateToProps = (state, { params: { username }, withReplies = false }) => {
|
||||
@@ -47,15 +47,15 @@ class ProfilePage extends ImmutablePureComponent {
|
||||
return (
|
||||
<ColumnsArea
|
||||
layout={{
|
||||
top: <HeaderContainer accountId={accountId} username={accountUsername} />,
|
||||
right: (
|
||||
TOP: <HeaderContainer accountId={accountId} username={accountUsername} />,
|
||||
RIGHT: (
|
||||
<Fragment>
|
||||
<SignUpPanel />
|
||||
<WhoToFollowPanel />
|
||||
<LinkFooter />
|
||||
</Fragment>
|
||||
),
|
||||
left: <ProfileInfoPanel username={accountUsername} account={account} />,
|
||||
LEFT: <ProfileInfoPanel username={accountUsername} account={account} />,
|
||||
}}
|
||||
>
|
||||
{this.props.children}
|
||||
|
||||
Reference in New Issue
Block a user