diff options
Diffstat (limited to 'app/javascript/mastodon/features/report/containers/status_check_box_container.js')
-rw-r--r-- | app/javascript/mastodon/features/report/containers/status_check_box_container.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/report/containers/status_check_box_container.js b/app/javascript/mastodon/features/report/containers/status_check_box_container.js index 67ce9d9f3..8997718a2 100644 --- a/app/javascript/mastodon/features/report/containers/status_check_box_container.js +++ b/app/javascript/mastodon/features/report/containers/status_check_box_container.js @@ -5,14 +5,14 @@ import Immutable from 'immutable'; const mapStateToProps = (state, { id }) => ({ status: state.getIn(['statuses', id]), - checked: state.getIn(['reports', 'new', 'status_ids'], Immutable.Set()).includes(id) + checked: state.getIn(['reports', 'new', 'status_ids'], Immutable.Set()).includes(id), }); const mapDispatchToProps = (dispatch, { id }) => ({ onToggle (e) { dispatch(toggleStatusReport(id, e.target.checked)); - } + }, }); |