diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-03 20:25:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 20:25:36 +0100 |
commit | b55fc883b6181fb8080fbafd53bc7a9f1896b295 (patch) | |
tree | c2843266ea3fbf9c486636fd600906dbe8469a2d | |
parent | c2a046ded1d47e2504df05568e34bc6a2a6dc810 (diff) |
Fix duplicate “Publish” button on mobile (#23804)
-rw-r--r-- | app/javascript/mastodon/features/ui/components/header.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/ui/components/header.jsx b/app/javascript/mastodon/features/ui/components/header.jsx index 1384bebda..92adc47a9 100644 --- a/app/javascript/mastodon/features/ui/components/header.jsx +++ b/app/javascript/mastodon/features/ui/components/header.jsx @@ -22,8 +22,8 @@ const mapDispatchToProps = (dispatch) => ({ }, }); -export default @connect(null, mapDispatchToProps) -@withRouter +export default @withRouter +@connect(null, mapDispatchToProps) class Header extends React.PureComponent { static contextTypes = { |