diff options
Diffstat (limited to 'app/javascript/mastodon/features/notifications/components/clear_column_button.js')
-rw-r--r-- | app/javascript/mastodon/features/notifications/components/clear_column_button.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/javascript/mastodon/features/notifications/components/clear_column_button.js b/app/javascript/mastodon/features/notifications/components/clear_column_button.js index a948bff46..ec01626b4 100644 --- a/app/javascript/mastodon/features/notifications/components/clear_column_button.js +++ b/app/javascript/mastodon/features/notifications/components/clear_column_button.js @@ -8,6 +8,11 @@ const messages = defineMessages({ class ClearColumnButton extends React.Component { + static propTypes = { + onClick: PropTypes.func.isRequired, + intl: PropTypes.object.isRequired + }; + render () { const { intl } = this.props; @@ -19,9 +24,4 @@ class ClearColumnButton extends React.Component { } } -ClearColumnButton.propTypes = { - onClick: PropTypes.func.isRequired, - intl: PropTypes.object.isRequired -}; - export default injectIntl(ClearColumnButton); |