client/src/components/Register.js
changeset 168 ea92f4fe783d
parent 161 a642639dbc07
child 170 7da1d5137b0b
equal deleted inserted replaced
167:1f340f3597a8 168:ea92f4fe783d
    36     }
    36     }
    37   }
    37   }
    38 
    38 
    39   render() {
    39   render() {
    40 
    40 
    41     // const errorMessages = this.props.register.get('errorMessages');
    41     // const errorMessages = this.props.register.errorMessages;
    42 
    42 
    43     return (
    43     return (
    44       <div>
    44       <div>
    45         {/* <Navbar history={this.props.history} /> */}
    45         {/* <Navbar history={this.props.history} /> */}
    46         <div className="container-fluid">
    46         <div className="container-fluid">
    87   }
    87   }
    88 }
    88 }
    89 
    89 
    90 function mapStateToProps(state, props) {
    90 function mapStateToProps(state, props) {
    91   return {
    91   return {
    92     register: state.get('register')
    92     register: state.register
    93   };
    93   };
    94 }
    94 }
    95 
    95 
    96 function mapDispatchToProps(dispatch) {
    96 function mapDispatchToProps(dispatch) {
    97   return {
    97   return {