mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 06:31:27 +08:00
9 lines
386 B
JavaScript
9 lines
386 B
JavaScript
import { bindActionCreators } from 'redux';
|
|
import { connect } from 'plugin-api/beta/client/hocs';
|
|
import { notify } from 'plugin-api/beta/client/actions/notification';
|
|
import CheckToxicityHook from '../components/CheckToxicityHook';
|
|
|
|
const mapDispatchToProps = dispatch => bindActionCreators({ notify }, dispatch);
|
|
|
|
export default connect(null, mapDispatchToProps)(CheckToxicityHook);
|