diff -r 1f340f3597a8 -r ea92f4fe783d client/src/components/Register.js --- a/client/src/components/Register.js Tue Oct 09 19:07:47 2018 +0200 +++ b/client/src/components/Register.js Mon Oct 08 18:35:47 2018 +0200 @@ -38,7 +38,7 @@ render() { - // const errorMessages = this.props.register.get('errorMessages'); + // const errorMessages = this.props.register.errorMessages; return (
@@ -89,7 +89,7 @@ function mapStateToProps(state, props) { return { - register: state.get('register') + register: state.register }; }