about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/ui/components/header.jsx
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-03 20:25:36 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-03-05 21:07:10 +0100
commit03ac84b0f4857f36a14e0b8f3196c35b00fb3b16 (patch)
tree3af436552aebb7efc639e2d90da11cce3fb6b321 /app/javascript/flavours/glitch/features/ui/components/header.jsx
parent7623e181247b4d2227b7774143514f6e1ca9253b (diff)
[Glitch] Fix duplicate “Publish” button on mobile
Port b55fc883b6181fb8080fbafd53bc7a9f1896b295 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui/components/header.jsx')
-rw-r--r--app/javascript/flavours/glitch/features/ui/components/header.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/components/header.jsx b/app/javascript/flavours/glitch/features/ui/components/header.jsx
index d9ad94961..5aa045fee 100644
--- a/app/javascript/flavours/glitch/features/ui/components/header.jsx
+++ b/app/javascript/flavours/glitch/features/ui/components/header.jsx
@@ -23,8 +23,8 @@ const mapDispatchToProps = (dispatch) => ({
   },
 });
 
-export default @connect(null, mapDispatchToProps)
-@withRouter
+export default @withRouter
+@connect(null, mapDispatchToProps)
 class Header extends React.PureComponent {
 
   static contextTypes = {