Showing
1 changed file
with
0 additions
and
4 deletions
... | @@ -10,7 +10,6 @@ export default () => { | ... | @@ -10,7 +10,6 @@ export default () => { |
10 | 10 | ||
11 | const email = useInput(""); | 11 | const email = useInput(""); |
12 | const password = useInput(""); | 12 | const password = useInput(""); |
13 | - const password2 = useInput(""); | ||
14 | const phoneNum = useInput(""); | 13 | const phoneNum = useInput(""); |
15 | const username = useInput(""); | 14 | const username = useInput(""); |
16 | 15 | ||
... | @@ -57,7 +56,6 @@ export default () => { | ... | @@ -57,7 +56,6 @@ export default () => { |
57 | (email.value !== "", | 56 | (email.value !== "", |
58 | username.value !== "", | 57 | username.value !== "", |
59 | password.value !== "", | 58 | password.value !== "", |
60 | - password2.value !== "", | ||
61 | phoneNum.value !== "") | 59 | phoneNum.value !== "") |
62 | ) { | 60 | ) { |
63 | try { | 61 | try { |
... | @@ -66,7 +64,6 @@ export default () => { | ... | @@ -66,7 +64,6 @@ export default () => { |
66 | email: email.value, | 64 | email: email.value, |
67 | username: username.value, | 65 | username: username.value, |
68 | password: password.value, | 66 | password: password.value, |
69 | - password2: password2.value, | ||
70 | phoneNum: phoneNum.value, | 67 | phoneNum: phoneNum.value, |
71 | }, | 68 | }, |
72 | }); | 69 | }); |
... | @@ -93,7 +90,6 @@ export default () => { | ... | @@ -93,7 +90,6 @@ export default () => { |
93 | action={action} | 90 | action={action} |
94 | email={email} | 91 | email={email} |
95 | password={password} | 92 | password={password} |
96 | - password2={password2} | ||
97 | username={username} | 93 | username={username} |
98 | phoneNum={phoneNum} | 94 | phoneNum={phoneNum} |
99 | onSubmit={onSubmit} | 95 | onSubmit={onSubmit} | ... | ... |
-
Please register or login to post a comment