about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx')
-rw-r--r--app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx b/app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx
index 4d7e49ec0..9c1c244cb 100644
--- a/app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx
+++ b/app/javascript/mastodon/features/list_editor/components/edit_list_form.jsx
@@ -19,8 +19,6 @@ const mapDispatchToProps = dispatch => ({
   onSubmit: () => dispatch(submitListEditor(false)),
 });
 
-export default @connect(mapStateToProps, mapDispatchToProps)
-@injectIntl
 class ListForm extends React.PureComponent {
 
   static propTypes = {
@@ -68,3 +66,5 @@ class ListForm extends React.PureComponent {
   }
 
 }
+
+export default connect(mapStateToProps, mapDispatchToProps)(injectIntl(ListForm));