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