about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/report
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-07-11 01:00:14 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-07-11 01:00:14 +0200
commitcc68d1945b42459a787e0ce216e8f49393eeb197 (patch)
tree1c01481aa4dec6b60bafb15e119c36498d5a1d27 /app/javascript/mastodon/features/report
parent7bacdd718a143f54f47ddc3afa39504636be65c0 (diff)
refactor: Rewrite immutablejs import statements using destructuring (#4147)
Diffstat (limited to 'app/javascript/mastodon/features/report')
-rw-r--r--app/javascript/mastodon/features/report/containers/status_check_box_container.js4
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 8997718a2..48cd0319b 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
@@ -1,11 +1,11 @@
 import { connect } from 'react-redux';
 import StatusCheckBox from '../components/status_check_box';
 import { toggleStatusReport } from '../../../actions/reports';
-import Immutable from 'immutable';
+import { Set as ImmutableSet } 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'], ImmutableSet()).includes(id),
 });
 
 const mapDispatchToProps = (dispatch, { id }) => ({