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 | 5 |
1 files changed, 3 insertions, 2 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 ec01626b4..5af049313 100644 --- a/app/javascript/mastodon/features/notifications/components/clear_column_button.js +++ b/app/javascript/mastodon/features/notifications/components/clear_column_button.js @@ -3,14 +3,14 @@ import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; const messages = defineMessages({ - clear: { id: 'notifications.clear', defaultMessage: 'Clear notifications' } + clear: { id: 'notifications.clear', defaultMessage: 'Clear notifications' }, }); class ClearColumnButton extends React.Component { static propTypes = { onClick: PropTypes.func.isRequired, - intl: PropTypes.object.isRequired + intl: PropTypes.object.isRequired, }; render () { @@ -22,6 +22,7 @@ class ClearColumnButton extends React.Component { </div> ); } + } export default injectIntl(ClearColumnButton); |