[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>
local
Levi Bard 2 years ago committed by Claire
parent 87929ad866
commit 4b449fff23
  1. 2
      app/javascript/flavours/glitch/features/ui/components/header.js

@ -36,7 +36,7 @@ class Header extends React.PureComponent {
if (signedIn) {
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 />
</>
);

Loading…
Cancel
Save