diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-27 12:49:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 12:49:33 +0200 |
commit | cbdb25ab0343603165fc89fd28b07c9ca0f2ae6d (patch) | |
tree | dc8aa1aa2449f54b530df0b251f7d126df0e525f /app/javascript/flavours/glitch/features/ui/components/header.jsx | |
parent | 81e85782d1cf595310180c3106ed92682045b5fd (diff) | |
parent | 8215df76c070f7d400a6091fcb1c0f6ff78474a0 (diff) |
Merge pull request #2151 from ClearlyClaire/glitch-soc/main
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features/ui/components/header.jsx')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/components/header.jsx | 4 |
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 5aa045fee..f7bab2487 100644 --- a/app/javascript/flavours/glitch/features/ui/components/header.jsx +++ b/app/javascript/flavours/glitch/features/ui/components/header.jsx @@ -23,8 +23,6 @@ const mapDispatchToProps = (dispatch) => ({ }, }); -export default @withRouter -@connect(null, mapDispatchToProps) class Header extends React.PureComponent { static contextTypes = { @@ -86,3 +84,5 @@ class Header extends React.PureComponent { } } + +export default withRouter(connect(null, mapDispatchToProps)(Header)); |