[Glitch] Fix duplicate “Publish” button on mobile

Port b55fc883b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/59/head
Claire 2023-03-03 20:25:36 +01:00
parent 7623e18124
commit 03ac84b0f4
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ const mapDispatchToProps = (dispatch) => ({
}, },
}); });
export default @connect(null, mapDispatchToProps) export default @withRouter
@withRouter @connect(null, mapDispatchToProps)
class Header extends React.PureComponent { class Header extends React.PureComponent {
static contextTypes = { static contextTypes = {