From 52c634b0fdabcecb06cc69c8a266a37568c54b77 Mon Sep 17 00:00:00 2001 From: Seok93 Date: Sat, 14 Sep 2024 12:58:03 +0900 Subject: [PATCH] =?UTF-8?q?UI:=20#127=20=EB=A7=88=ED=81=AC=EB=8B=A4?= =?UTF-8?q?=EC=9A=B4=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20props=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/MarkdownEditor.tsx | 8 ++++---- src/components/modal/task/ModalTaskForm.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/common/MarkdownEditor.tsx b/src/components/common/MarkdownEditor.tsx index e51bc4b7..b5f764f1 100644 --- a/src/components/common/MarkdownEditor.tsx +++ b/src/components/common/MarkdownEditor.tsx @@ -6,10 +6,10 @@ import CustomMarkdown from '@components/common/CustomMarkdown'; type MarkdownEditorProps = { id: string; label: string; - contentName: string; + contentFieldName: string; }; -export default function MarkdownEditor({ id, label, contentName }: MarkdownEditorProps) { +export default function MarkdownEditor({ id, label, contentFieldName }: MarkdownEditorProps) { const [preview, setPreview] = useState(false); const { watch, register } = useFormContext(); @@ -22,14 +22,14 @@ export default function MarkdownEditor({ id, label, contentName }: MarkdownEdito {preview ? ( - + ) : (