1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-03 01:08:23 +09:00

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

This commit is contained in:
Claire 2023-03-03 20:25:36 +01:00
parent 69564db447
commit b52746e64b

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