Merge branch 'patch-1' into 'master'

Switch to Back to <instance name> when logged in on mobile view as well.

See merge request soapbox-pub/soapbox-fe!62
This commit is contained in:
Alex Gleason 2020-06-08 02:11:20 +00:00
commit 105893535f

View file

@ -42,7 +42,10 @@ class Header extends ImmutablePureComponent {
}
</div>
<div className='visible-sm'>
<Link className='nav-link nav-button webapp-btn' to='/auth/sign_in'>Log in</Link>
{me
? <Link className='nav-link nav-button webapp-btn' to='/'>Back to {instance.get('title')}</Link>
: <Link className='nav-link nav-button webapp-btn' to='/auth/sign_in'>Log in</Link>
}
</div>
</div>
</div>