about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/list_editor/components/search.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/list_editor/components/search.jsx')
-rw-r--r--app/javascript/mastodon/features/list_editor/components/search.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/list_editor/components/search.jsx b/app/javascript/mastodon/features/list_editor/components/search.jsx
index 3ee26c8eb..b9745e0a8 100644
--- a/app/javascript/mastodon/features/list_editor/components/search.jsx
+++ b/app/javascript/mastodon/features/list_editor/components/search.jsx
@@ -20,8 +20,6 @@ const mapDispatchToProps = dispatch => ({
   onChange: value => dispatch(changeListSuggestions(value)),
 });
 
-export default @connect(mapStateToProps, mapDispatchToProps)
-@injectIntl
 class Search extends React.PureComponent {
 
   static propTypes = {
@@ -74,3 +72,5 @@ class Search extends React.PureComponent {
   }
 
 }
+
+export default connect(mapStateToProps, mapDispatchToProps)(injectIntl(Search));