Changed not to display DISCOVER subheader via single column layout. (#9759)

lolsob-rspec
mayaeh 2019-01-08 22:32:36 +09:00 committed by Eugen Rochko
parent 0963a4400b
commit a74a1412bd
1 changed files with 3 additions and 4 deletions

View File

@ -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(