mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-26 16:44:48 +00:00
add key to lists div
This commit is contained in:
parent
6236577734
commit
9fc08e4861
|
@ -111,10 +111,10 @@ export default class GettingStarted extends ImmutablePureComponent {
|
||||||
navItems.push(<ColumnLink key='6' icon='ellipsis-h' text={intl.formatMessage(messages.misc)} to='/getting-started-misc' />);
|
navItems.push(<ColumnLink key='6' icon='ellipsis-h' text={intl.formatMessage(messages.misc)} to='/getting-started-misc' />);
|
||||||
|
|
||||||
listItems = listItems.concat([
|
listItems = listItems.concat([
|
||||||
<div>
|
<div key='7'>
|
||||||
<ColumnLink key='7' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />
|
<ColumnLink key='8' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />
|
||||||
{lists.map(list =>
|
{lists.map(list =>
|
||||||
<ColumnLink key={(7 + Number(list.get('id'))).toString()} to={`/timelines/list/${list.get('id')}`} icon='list-ul' text={list.get('title')} />
|
<ColumnLink key={(8 + Number(list.get('id'))).toString()} to={`/timelines/list/${list.get('id')}`} icon='list-ul' text={list.get('title')} />
|
||||||
)}
|
)}
|
||||||
</div>,
|
</div>,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue