Skip to content

Commit

Permalink
feat: 소개 말 작성 폼 textarea로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
SEOKKAMONI committed Dec 11, 2023
1 parent fa1c7a0 commit 69f461d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
ModalOverlay,
Select,
Text,
Textarea,
} from '@chakra-ui/react';
import type { SubmitHandler } from 'react-hook-form';
import { useForm } from 'react-hook-form';
Expand Down Expand Up @@ -78,7 +79,7 @@ const StudentProfileCreateModal = ({ isOpen, onClose }: StudentProfileCreateModa
placeholder="이메일을 적어주세요."
{...register('email')}
/>
<Input placeholder="소개 말을 적어주세요." {...register('bio')} />
<Textarea placeholder="소개 말을 적어주세요." {...register('bio')} />
<Select size="md" {...register('position')}>
<option value="FRONTEND">프론트엔드</option>
<option value="BACKEND">백엔드</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const StudentProfileDetailContents = ({ userCode }: StudnetProfileDetailContentP
padding="12px 24px"
backgroundColor="gray.50"
borderRadius="8px"
_hover={{ cursor: 'pointer' }}
width="100%"
minHeight="56px"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
ModalOverlay,
Select,
Text,
Textarea,
} from '@chakra-ui/react';
import { useOverlay } from '@toss/use-overlay';
import type { SubmitHandler } from 'react-hook-form';
Expand Down Expand Up @@ -100,7 +101,7 @@ const StudentProfileUpdateModal = ({ isOpen, onClose }: StudentProfileUpdateModa
placeholder="이메일을 적어주세요."
{...register('email')}
/>
<Input
<Textarea
defaultValue={studnetProfile.bio}
placeholder="소개 말을 적어주세요."
{...register('bio')}
Expand Down

0 comments on commit 69f461d

Please sign in to comment.