[Glitch] Fix duplicate “Publish” button on mobile

Port b55fc883b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main^2
Claire 2 years ago
parent 7623e18124
commit 03ac84b0f4

@ -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 = {

Loading…
Cancel
Save