client/src/components/Settings.js
changeset 129 d48946d164c6
parent 66 f402435be429
child 142 56850f5c73f6
equal deleted inserted replaced
128:34a75bd8d0b9 129:d48946d164c6
    56   }
    56   }
    57 }
    57 }
    58 
    58 
    59 function mapStateToProps(state, props) {
    59 function mapStateToProps(state, props) {
    60   return {
    60   return {
    61     currentUser: state['currentUser'],
    61     currentUser: state.getIn(['authStatus', 'currentUser']),
    62   };
    62   };
    63 }
    63 }
    64 
    64 
    65 function mapDispatchToProps(dispatch) {
    65 function mapDispatchToProps(dispatch) {
    66   return {
    66   return {