Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web-domains): 모임장/원 취미 정보 입력 페이지 디자인 정의서 업데이트 #203

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ export const HobbiesInfoForm = ({ hobbyList }: HobbiesFormProps) => {
<Controller
name="hobbyIds"
control={control}
rules={{
validate: (value) => value.length <= 3 || '최대 3개까지 선택할 수 있습니다',
}}
render={({ field: { value, onChange } }) => (
<CheckboxGroup value={value} onValueChange={onChange} maxLength={3}>
<CheckboxGroup value={value} onValueChange={onChange}>
{hobbyList?.map(({ hobbyId, content }) => (
<CheckboxGroup.Item
key={hobbyId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const GetUserHobbiesContainer = () => {

return (
<>
<FormTitle title="취미를 최대" subTitle="세 개 까지만 선택해주세요" style={{ paddingTop: '28px' }} />
<FormTitle title="즐기는 취미를" subTitle="자유롭게 선택해주세요" style={{ paddingTop: '28px' }} />
<HobbiesInfoForm hobbyList={hobbyList} />
</>
);
Expand Down