about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/scrollable_list.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/scrollable_list.jsx')
-rw-r--r--app/javascript/mastodon/components/scrollable_list.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/scrollable_list.jsx b/app/javascript/mastodon/components/scrollable_list.jsx
index 4a6ffb149..57bc88121 100644
--- a/app/javascript/mastodon/components/scrollable_list.jsx
+++ b/app/javascript/mastodon/components/scrollable_list.jsx
@@ -20,7 +20,6 @@ const mapStateToProps = (state, { scrollKey }) => {
   };
 };
 
-export default @connect(mapStateToProps, null, null, { forwardRef: true })
 class ScrollableList extends PureComponent {
 
   static contextTypes = {
@@ -365,3 +364,5 @@ class ScrollableList extends PureComponent {
   }
 
 }
+
+export default connect(mapStateToProps, null, null, { forwardRef: true })(ScrollableList);