gearheads
/
mastodon
Archived
2
0
Fork 0

Fix duplicate “Publish” button on mobile (#23804)

gh/dev
Claire 2023-03-03 20:25:36 +01:00 committed by GitHub
parent c2a046ded1
commit b55fc883b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,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 = {