Skip to content

Commit

Permalink
Remove the search button from UI header when logged out (mastodon#25631)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and skerit committed Jul 7, 2023
1 parent 258fbb0 commit 8990961
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/javascript/mastodon/features/ui/components/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ class Header extends PureComponent {

content = (
<>
{location.pathname !== '/search' && <Link to='/search' className='button button-secondary' aria-label={intl.formatMessage(messages.search)}><Icon id='search' /></Link>}
{signupButton}
<a href='/auth/sign_in' className='button button-tertiary'><FormattedMessage id='sign_in_banner.sign_in' defaultMessage='Login' /></a>
</>
Expand Down

0 comments on commit 8990961

Please sign in to comment.