diff --git a/twistter-client/src/pages/signup.js b/twistter-client/src/pages/signup.js index 706c8df..e779540 100644 --- a/twistter-client/src/pages/signup.js +++ b/twistter-client/src/pages/signup.js @@ -41,7 +41,7 @@ class signup extends Component { super(); this.state = { email: '', - username: '', + handle: '', password: '', confirmPassword: '', errors: {} @@ -51,7 +51,7 @@ class signup extends Component { event.preventDefault(); const newUserData = { email: this.state.email, - username: this.state.username, + handle: this.state.handle, password: this.state.password, confirmPassword: this.state.confirmPassword }; @@ -83,13 +83,13 @@ class signup extends Component { Sign up
-
- +