diff options
Diffstat (limited to 'app/javascript/mastodon/features/compose/containers/spoiler_button_container.js')
-rw-r--r-- | app/javascript/mastodon/features/compose/containers/spoiler_button_container.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/compose/containers/spoiler_button_container.js b/app/javascript/mastodon/features/compose/containers/spoiler_button_container.js index b1c80fe19..4179b9706 100644 --- a/app/javascript/mastodon/features/compose/containers/spoiler_button_container.js +++ b/app/javascript/mastodon/features/compose/containers/spoiler_button_container.js @@ -4,21 +4,21 @@ import { changeComposeSpoilerness } from '../../../actions/compose'; import { injectIntl, defineMessages } from 'react-intl'; const messages = defineMessages({ - title: { id: 'compose_form.spoiler', defaultMessage: 'Hide text behind warning' } + title: { id: 'compose_form.spoiler', defaultMessage: 'Hide text behind warning' }, }); const mapStateToProps = (state, { intl }) => ({ label: 'CW', title: intl.formatMessage(messages.title), active: state.getIn(['compose', 'spoiler']), - ariaControls: 'cw-spoiler-input' + ariaControls: 'cw-spoiler-input', }); const mapDispatchToProps = dispatch => ({ onClick () { dispatch(changeComposeSpoilerness()); - } + }, }); |