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