Updated GroupSidebarPanel locations, keys

added/updated keys to layout array to remove "missing key" error in ui/index
updated location of group sidebar panel to always be above wtf panel
This commit is contained in:
mgabdev 2019-07-22 00:10:45 -04:00
parent 0216aa973c
commit ef3f9a801e
3 changed files with 6 additions and 6 deletions

View File

@ -124,17 +124,17 @@ const LAYOUT = {
], ],
RIGHT: [ RIGHT: [
// <TrendsPanel />, // <TrendsPanel />,
<GroupSidebarPanel /> <GroupSidebarPanel key='0' />
], ],
}, },
STATUS: { STATUS: {
TOP: null, TOP: null,
LEFT: null, LEFT: null,
RIGHT: [ RIGHT: [
<GroupSidebarPanel />, <GroupSidebarPanel key='0' />,
<WhoToFollowPanel key='0' />, <WhoToFollowPanel key='1' />,
// <TrendsPanel />, // <TrendsPanel />,
<LinkFooter key='1' />, <LinkFooter key='2' />,
], ],
}, },
}; };

View File

@ -43,8 +43,8 @@ class GroupsPage extends ImmutablePureComponent {
<div className='columns-area__panels__pane columns-area__panels__pane--right'> <div className='columns-area__panels__pane columns-area__panels__pane--right'>
<div className='columns-area__panels__pane__inner'> <div className='columns-area__panels__pane__inner'>
<WhoToFollowPanel />
<GroupSidebarPanel /> <GroupSidebarPanel />
<WhoToFollowPanel />
</div> </div>
</div> </div>
</div> </div>

View File

@ -48,8 +48,8 @@ class HomePage extends ImmutablePureComponent {
<div className='columns-area__panels__pane columns-area__panels__pane--right'> <div className='columns-area__panels__pane columns-area__panels__pane--right'>
<div className='columns-area__panels__pane__inner'> <div className='columns-area__panels__pane__inner'>
<WhoToFollowPanel />
<GroupSidebarPanel /> <GroupSidebarPanel />
<WhoToFollowPanel />
</div> </div>
</div> </div>
</div> </div>