1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-04 11:17:02 +02:00
unleash.unleash/frontend/src/component/user/show-user-container.jsx
Simen Bekkhus 683ae7e6d8 Use prettier (#87)
* Use prettier

* Upgrade to 1.6 beta

* Update lint deps

* Upgrade to full 1.6
2017-08-28 19:15:47 +02:00

14 lines
345 B
JavaScript

import { connect } from 'react-redux';
import ShowUserComponent from './show-user-component';
import { openEdit } from '../../store/user/actions';
const mapDispatchToProps = {
openEdit,
};
const mapStateToProps = state => ({
user: state.user.toJS(),
});
export default connect(mapStateToProps, mapDispatchToProps)(ShowUserComponent);