sdy

remove password 2

......@@ -10,7 +10,6 @@ export default () => {
const email = useInput("");
const password = useInput("");
const password2 = useInput("");
const phoneNum = useInput("");
const username = useInput("");
......@@ -57,7 +56,6 @@ export default () => {
(email.value !== "",
username.value !== "",
password.value !== "",
password2.value !== "",
phoneNum.value !== "")
) {
try {
......@@ -66,7 +64,6 @@ export default () => {
email: email.value,
username: username.value,
password: password.value,
password2: password2.value,
phoneNum: phoneNum.value,
},
});
......@@ -93,7 +90,6 @@ export default () => {
action={action}
email={email}
password={password}
password2={password2}
username={username}
phoneNum={phoneNum}
onSubmit={onSubmit}
......