From 15ce60f610ed46fd77b58857c5a318c30080648e Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 1 Jun 2018 21:02:49 +0900 Subject: [PATCH] Fix duplicate key attributes (#7694) --- .../features/getting_started/index.js | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index f0a3834498..da19096533 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -90,31 +90,32 @@ export default class GettingStarted extends ImmutablePureComponent { const { intl, myAccount, multiColumn, unreadFollowRequests, trends } = this.props; const navItems = []; + let i = 1; if (multiColumn) { navItems.push( - , - , - , - + , + , + , + ); } navItems.push( - , - , - + , + , + ); if (myAccount.get('locked')) { - navItems.push(); + navItems.push(); } if (!multiColumn) { navItems.push( - , - , - + , + , + ); }