diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2018-01-05 18:29:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 18:29:40 -0500 |
commit | b4e667f86b645a1ddaa7944b61c2d6ca3b9e3981 (patch) | |
tree | 803e8058769a30496d626ed63a0846fc25955d61 /app/javascript/flavours | |
parent | faf20eeaa4c6f48a97a41a948ed29e734c8c4f5e (diff) | |
parent | 9fc08e48618dd0541c36c614366f8d4434ea2644 (diff) |
Merge pull request #295 from chriswmartin/getting-started-key-fix
unique ColumnLink keys in getting_started
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/features/getting_started/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/features/getting_started/index.js b/app/javascript/flavours/glitch/features/getting_started/index.js index 89c77b507..1b05c4da1 100644 --- a/app/javascript/flavours/glitch/features/getting_started/index.js +++ b/app/javascript/flavours/glitch/features/getting_started/index.js @@ -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' />); listItems = listItems.concat([ - <div> - <ColumnLink key='7' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' /> + <div key='7'> + <ColumnLink key='8' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' /> {lists.map(list => - <ColumnLink key={list.get('id')} 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>, ]); |