diff --git a/src/pages/sign-up.tsx b/src/pages/sign-up.tsx index 061e2e0..62b17c2 100644 --- a/src/pages/sign-up.tsx +++ b/src/pages/sign-up.tsx @@ -22,7 +22,7 @@ const SignUp = () => { const [loading, setLoading] = React.useState(false); const [done, setDone] = React.useState(false); const [userData, setUserData] = React.useState({ - name: "", + display_name: "", email: "", password: "", }); @@ -36,7 +36,7 @@ const SignUp = () => { email: userData.email, password: userData.password, options: { - data: { name: userData.name }, + data: { display_name: userData.display_name }, }, }) .then(({ error }) => { @@ -78,7 +78,7 @@ const SignUp = () => {