File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { signupUser } from "../redux/actions/userActions";
77import Form from "react-bootstrap/Form" ;
88import logo from "../images/logo.png" ;
99
10- function validate ( name , email , password , password_confirmation ) {
10+ function validate ( name , email , password ) {
1111 // true means invalid, so our conditions got reversed
1212 return {
1313 name : name . length === 0 ,
@@ -82,7 +82,7 @@ class Signup extends Component {
8282 < Form . Label > Name</ Form . Label >
8383 < Form . Control
8484 className = { errors . name ? "error" : "" }
85- size = "sm"
85+
8686 onChange = { this . onChange }
8787 name = "name"
8888 id = "name"
@@ -96,7 +96,7 @@ class Signup extends Component {
9696 < Form . Label > Email</ Form . Label >
9797 < Form . Control
9898 className = { errors . email ? "error" : "" }
99- size = "sm"
99+
100100 onChange = { this . onChange }
101101 name = "email"
102102 id = "email"
@@ -110,7 +110,7 @@ class Signup extends Component {
110110 < Form . Label > Password</ Form . Label >
111111 < Form . Control
112112 className = { errors . password ? "error" : "" }
113- size = "sm"
113+
114114 onChange = { this . onChange }
115115 name = "password"
116116 id = "password"
You can’t perform that action at this time.
0 commit comments