From: Yamagishi Kazutoshi Date: Fri, 1 Jun 2018 12:02:49 +0000 (+0900) Subject: Fix duplicate key attributes (#7694) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=15ce60f610ed46fd77b58857c5a318c30080648e;p=mastodon.git Fix duplicate key attributes (#7694) --- diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index f0a383449..da1909653 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( - , - , - + , + , + ); }