mirror of
https://github.com/wassname/talk.git
synced 2026-08-19 12:40:16 +08:00
Adding a notification after saving
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
import { withChangePassword } from 'plugin-api/beta/client/hocs';
|
||||
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';
|
||||
|
||||
export default withChangePassword(ChangePassword);
|
||||
const mapDispatchToProps = dispatch => bindActionCreators({ notify }, dispatch);
|
||||
|
||||
export default compose(connect(null, mapDispatchToProps), withChangePassword)(
|
||||
ChangePassword
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user