From 88938c6334b4cc057aa35daeb02bf9e2a1625936 Mon Sep 17 00:00:00 2001
From: junseublim
Date: Mon, 26 Aug 2024 21:43:07 +0900
Subject: [PATCH] hotfix: fix setGender
---
.../(onboarding)/signup/_components/steps/GenderForm.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/(onboarding)/signup/_components/steps/GenderForm.tsx b/src/app/(onboarding)/signup/_components/steps/GenderForm.tsx
index 0a2bcb9..b7c9b76 100644
--- a/src/app/(onboarding)/signup/_components/steps/GenderForm.tsx
+++ b/src/app/(onboarding)/signup/_components/steps/GenderForm.tsx
@@ -11,7 +11,7 @@ const GenderForm = ({
}: {
handleSubmit: (profile: UserProfile) => Promise
}) => {
- const { newName, newBirthDt, newGender, setGender } = useProfile()
+ const { newName, newBirthDt, newGender, setNewGender } = useProfile()
const [hasError, setHasError] = useState(false)
const router = useRouter()
@@ -41,8 +41,8 @@ const GenderForm = ({
- setGender('M')} />
- setGender('F')} />
+ setNewGender('M')} />
+ setNewGender('F')} />