about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/reblogs/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/reblogs/index.js')
-rw-r--r--app/javascript/mastodon/features/reblogs/index.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/javascript/mastodon/features/reblogs/index.js b/app/javascript/mastodon/features/reblogs/index.js
index 48df8451d..46634486a 100644
--- a/app/javascript/mastodon/features/reblogs/index.js
+++ b/app/javascript/mastodon/features/reblogs/index.js
@@ -16,6 +16,12 @@ const mapStateToProps = (state, props) => ({
 
 class Reblogs extends ImmutablePureComponent {
 
+  static propTypes = {
+    params: PropTypes.object.isRequired,
+    dispatch: PropTypes.func.isRequired,
+    accountIds: ImmutablePropTypes.list
+  };
+
   componentWillMount () {
     this.props.dispatch(fetchReblogs(Number(this.props.params.statusId)));
   }
@@ -52,10 +58,4 @@ class Reblogs extends ImmutablePureComponent {
 
 }
 
-Reblogs.propTypes = {
-  params: PropTypes.object.isRequired,
-  dispatch: PropTypes.func.isRequired,
-  accountIds: ImmutablePropTypes.list
-};
-
 export default connect(mapStateToProps)(Reblogs);