Skip to content

Commit 0595547

Browse files
committed
fix: 포스트 제목이 반영되지 않는 이슈 수정
- 잘못된 필드명 'memo'를 'title'로 수정
1 parent 6f59872 commit 0595547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/post/post-title-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const PostTitleInput: FunctionComponent<PostTitleInputProps> = ({
1313
<div className="flex flex-shrink-0 items-center justify-center p-4">
1414
<div className="flex flex-col">
1515
<input
16-
{...register('memo')}
16+
{...register('title')}
1717
placeholder="제목을 입력하세요"
1818
className="flex-1 bg-transparent text-center text-3xl font-semibold"
1919
/>

0 commit comments

Comments
 (0)