about summary refs log tree commit diff
diff options
context:
space:
mode:
authormayaeh <mayaeh@marimo-net.org>2019-01-08 22:32:36 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-01-08 14:32:36 +0100
commit266d4cb92ba79f6259b026f6382874be52523278 (patch)
treea9ce4f3acae341d0b4d0204ece5b86ef84e2e4ef
parent15aed1ee6c97b428c564e370cff77a158842a612 (diff)
Changed not to display DISCOVER subheader via single column layout. (#9759)
-rw-r--r--app/javascript/mastodon/features/getting_started/index.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js
index d56e7f142..709a3aa96 100644
--- a/app/javascript/mastodon/features/getting_started/index.js
+++ b/app/javascript/mastodon/features/getting_started/index.js
@@ -94,7 +94,7 @@ class GettingStarted extends ImmutablePureComponent {
 
       if (profile_directory) {
         navItems.push(
-          <ColumnLink key={i++} icon='address-book' text={intl.formatMessage(messages.profile_directory)} href='/explore' />,
+          <ColumnLink key={i++} icon='address-book' text={intl.formatMessage(messages.profile_directory)} href='/explore' />
         );
 
         height += 48;
@@ -107,11 +107,10 @@ class GettingStarted extends ImmutablePureComponent {
       height += 34;
     } else if (profile_directory) {
       navItems.push(
-        <ColumnSubheading key={i++} text={intl.formatMessage(messages.discover)} />,
-        <ColumnLink key={i++} icon='address-book' text={intl.formatMessage(messages.profile_directory)} href='/explore' />,
+        <ColumnLink key={i++} icon='address-book' text={intl.formatMessage(messages.profile_directory)} href='/explore' />
       );
 
-      height += 34 + 48;
+      height += 48;
     }
 
     navItems.push(