diff options
Diffstat (limited to 'app/javascript/mastodon/features/getting_started/index.js')
-rw-r--r-- | app/javascript/mastodon/features/getting_started/index.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index f2125a96c..4881b875e 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -30,6 +30,11 @@ const mapStateToProps = state => ({ class GettingStarted extends ImmutablePureComponent { + static propTypes = { + intl: PropTypes.object.isRequired, + me: ImmutablePropTypes.map.isRequired + }; + render () { const { intl, me } = this.props; @@ -66,9 +71,4 @@ class GettingStarted extends ImmutablePureComponent { } } -GettingStarted.propTypes = { - intl: PropTypes.object.isRequired, - me: ImmutablePropTypes.map.isRequired -}; - export default connect(mapStateToProps)(injectIntl(GettingStarted)); |