From 1687f3b9528ab4cac76af1eaa219e1c88c82f6f6 Mon Sep 17 00:00:00 2001 From: Rafiafrzl Date: Thu, 2 Oct 2025 11:45:20 +0700 Subject: [PATCH] update signup --- src/pages/auth/Signup.jsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/pages/auth/Signup.jsx b/src/pages/auth/Signup.jsx index 3ecdd15..2ff5fc0 100644 --- a/src/pages/auth/Signup.jsx +++ b/src/pages/auth/Signup.jsx @@ -18,7 +18,7 @@ const SignUp = () => { }; const handleSignUp = async (values) => { - const { fullname, username, email, phone, password, confirmPassword } = values; + const { fullname, name, email, phone, password, confirmPassword } = values; // Validasi confirm password if (password !== confirmPassword) { @@ -62,7 +62,7 @@ const SignUp = () => { setLoading(true); try { - const res = await register({ fullname, username, email, phone, password }); + const res = await register({ fullname, name, email, phone, password }); NotifOk({ icon: 'success', @@ -128,12 +128,8 @@ const SignUp = () => { - - + +