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: [
// <TrendsPanel />,
<GroupSidebarPanel />
<GroupSidebarPanel key='0' />
],
},
STATUS: {
TOP: null,
LEFT: null,
RIGHT: [
<GroupSidebarPanel />,
<WhoToFollowPanel key='0' />,
<GroupSidebarPanel key='0' />,
<WhoToFollowPanel key='1' />,
// <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__inner'>
<WhoToFollowPanel />
<GroupSidebarPanel />
<WhoToFollowPanel />
</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__inner'>
<WhoToFollowPanel />
<GroupSidebarPanel />
<WhoToFollowPanel />
</div>
</div>
</div>