diff -r 97536386b397 -r 57d63a248f0d client/src/components/Register.js --- a/client/src/components/Register.js Wed Aug 29 11:02:36 2018 +0200 +++ b/client/src/components/Register.js Fri Aug 31 15:14:18 2018 +0200 @@ -3,7 +3,7 @@ import { bindActionCreators } from 'redux'; import '../App.css'; import './Register.css'; -import Navbar from './Navbar'; +// import Navbar from './Navbar'; import * as authActions from '../actions/authActions'; class Register extends Component { @@ -31,46 +31,46 @@ renderErrorMessage(errorMessages, fieldname) { if (errorMessages && errorMessages.has(fieldname)) { return errorMessages.get(fieldname).map((message, key) => -

{ message }

+

{ message }

); } } render() { - const errorMessages = this.props.register.get('errorMessages'); + // const errorMessages = this.props.register.get('errorMessages'); return (
- + {/* */}
-
+
-
-

IRI Notes

+
+

IRI Notes

-
- - { this.username = ref; }} /> - { this.renderErrorMessage(errorMessages, 'username') } +
+ + { this.username = ref; }}*/ /> + {/* { this.renderErrorMessage(errorMessages, 'username') } */}
-
- - { this.email = ref; }} /> - { this.renderErrorMessage(errorMessages, 'email') } +
+ + { this.email = ref; }}*/ /> + {/* { this.renderErrorMessage(errorMessages, 'email') } */}
-
- - { this.password1 = ref; }} /> - { this.renderErrorMessage(errorMessages, 'password1') } +
+ + { this.password1 = ref; }}*/ /> + {/* { this.renderErrorMessage(errorMessages, 'password1') } */}
-
- - { this.password2 = ref; }} /> - { this.renderErrorMessage(errorMessages, 'password2') } +
+ + { this.password2 = ref; }}*/ /> + {/* { this.renderErrorMessage(errorMessages, 'password2') } */}
- +