mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 19:29:15 +08:00
13 lines
509 B
JavaScript
13 lines
509 B
JavaScript
import { compose } from 'react-apollo';
|
|
import { bindActionCreators } from 'redux';
|
|
import { connect } from 'plugin-api/beta/client/hocs';
|
|
import ChangePassword from '../components/ChangePassword';
|
|
import { notify } from 'coral-framework/actions/notification';
|
|
import { withChangePassword } from 'plugin-api/beta/client/hocs';
|
|
|
|
const mapDispatchToProps = dispatch => bindActionCreators({ notify }, dispatch);
|
|
|
|
export default compose(connect(null, mapDispatchToProps), withChangePassword)(
|
|
ChangePassword
|
|
);
|