[Glitch] Make the button that expands the publish form differentiable from the button that publishes a post

Port 654d348aac to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main
Levi Bard 2 years ago committed by Claire
parent 87929ad866
commit 4b449fff23

@ -36,7 +36,7 @@ class Header extends React.PureComponent {
if (signedIn) { if (signedIn) {
content = ( content = (
<> <>
{location.pathname !== '/publish' && <Link to='/publish' className='button'><FormattedMessage id='compose_form.publish' defaultMessage='Publish' /></Link>} {location.pathname !== '/publish' && <Link to='/publish' className='button'><FormattedMessage id='compose_form.publish_form' defaultMessage='Publish' /></Link>}
<Account /> <Account />
</> </>
); );

Loading…
Cancel
Save