mirror of https://github.com/Siphonay/mastodon
change how list ColumnLink keys are determined
This commit is contained in:
parent
c69a23ae46
commit
6236577734
|
@ -114,7 +114,7 @@ export default class GettingStarted extends ImmutablePureComponent {
|
||||||
<div>
|
<div>
|
||||||
<ColumnLink key='7' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />
|
<ColumnLink key='7' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />
|
||||||
{lists.map(list =>
|
{lists.map(list =>
|
||||||
<ColumnLink key={list.get('id')} to={`/timelines/list/${list.get('id')}`} icon='list-ul' text={list.get('title')} />
|
<ColumnLink key={(7 + Number(list.get('id'))).toString()} to={`/timelines/list/${list.get('id')}`} icon='list-ul' text={list.get('title')} />
|
||||||
)}
|
)}
|
||||||
</div>,
|
</div>,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue