From 585a0c1022fec45e96cad2ee0dfc02472d9a22e2 Mon Sep 17 00:00:00 2001 From: Aaron Sun Date: Tue, 1 Oct 2019 17:55:17 -0400 Subject: [PATCH] Changed variable names --- twistter-client/src/pages/signup.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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
-
- +