From b25423bfad3790646a29f7e44c8ee3632af51a81 Mon Sep 17 00:00:00 2001 From: Jeong Ha Seung <88266129+HA-SEUNG-JEONG@users.noreply.github.com> Date: Thu, 5 Feb 2026 10:39:03 +0900 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=EC=8A=A4=ED=84=B0=EB=94=94=20?= =?UTF-8?q?=EB=A6=AC=EB=8D=94=20=EC=B0=B8=EC=97=AC=20=EC=97=AC=EB=B6=80=20?= =?UTF-8?q?=ED=95=84=EB=93=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../study/group/ui/step/step1-group.tsx | 33 ++----------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/src/features/study/group/ui/step/step1-group.tsx b/src/features/study/group/ui/step/step1-group.tsx index 86e7006b..8dcc27ba 100644 --- a/src/features/study/group/ui/step/step1-group.tsx +++ b/src/features/study/group/ui/step/step1-group.tsx @@ -7,7 +7,7 @@ import { useFormContext, useWatch, } from 'react-hook-form'; -import Checkbox from '@/components/ui/checkbox'; + import { SingleDropdown } from '@/components/ui/dropdown'; import FormField from '@/components/ui/form/form-field'; import { BaseInput } from '@/components/ui/input'; @@ -52,10 +52,7 @@ export default function Step1OpenGroupStudy() { name: 'regularMeeting', control, }); - const { field: studyLeaderParticipationField } = useController({ - name: 'studyLeaderParticipation', - control, - }); + const methodValue = useWatch({ name: 'method', control, @@ -64,32 +61,6 @@ export default function Step1OpenGroupStudy() { return ( <>
기본 정보 설정
- - name="studyLeaderParticipation" - label="리더 참여 여부" - helper="스터디 리더가 직접 스터디에 참여하는지 선택해주세요." - direction="vertical" - size="medium" - required - > -
- - studyLeaderParticipationField.onChange( - !studyLeaderParticipationField.value, - ) - } - /> - -
- name="type" label="스터디 유형" From d8d3bfaabacf64a3a19699eb6fddcec5c9f93af7 Mon Sep 17 00:00:00 2001 From: Jeong Ha Seung <88266129+HA-SEUNG-JEONG@users.noreply.github.com> Date: Thu, 5 Feb 2026 11:02:04 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=EC=8A=A4=ED=84=B0=EB=94=94=20?= =?UTF-8?q?=EC=9C=A0=ED=98=95=20=ED=95=84=ED=84=B0=EB=A7=81=20=EB=A1=9C?= =?UTF-8?q?=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/study/group/ui/step/step1-group.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/features/study/group/ui/step/step1-group.tsx b/src/features/study/group/ui/step/step1-group.tsx index 8dcc27ba..2c0188f1 100644 --- a/src/features/study/group/ui/step/step1-group.tsx +++ b/src/features/study/group/ui/step/step1-group.tsx @@ -58,6 +58,11 @@ export default function Step1OpenGroupStudy() { control, }); + const shouldFilterMentoring = classification === 'GROUP_STUDY'; + const filteredStudyTypes = shouldFilterMentoring + ? STUDY_TYPES.filter((type) => type !== 'MENTORING') + : STUDY_TYPES; + return ( <>
기본 정보 설정
@@ -74,7 +79,7 @@ export default function Step1OpenGroupStudy() { value={typeField.value} onValueChange={typeField.onChange} > - {STUDY_TYPES.map((type) => ( + {filteredStudyTypes.map((type) => (
))}