client/src/components/Login.js
changeset 62 b2514a9bcd49
parent 44 3b20e2b584fe
child 89 06f609adfbf8
equal deleted inserted replaced
61:7586b4a11c32 62:b2514a9bcd49
    50   }
    50   }
    51 }
    51 }
    52 
    52 
    53 function mapStateToProps(state, props) {
    53 function mapStateToProps(state, props) {
    54   return {
    54   return {
    55     currentUser: state.get('currentUser'),
    55     currentUser: state['currentUser'],
    56     login: state.get('login')
    56     login: state['login']
    57   };
    57   };
    58 }
    58 }
    59 
    59 
    60 function mapDispatchToProps(dispatch) {
    60 function mapDispatchToProps(dispatch) {
    61   return {
    61   return {