Skip to content

Commit d916ab6

Browse files
committed
heroku commit 9.0
1 parent b64b60b commit d916ab6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/signup.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { signupUser } from "../redux/actions/userActions";
77
import Form from "react-bootstrap/Form";
88
import 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"

0 commit comments

Comments
 (0)