From ed24772bfec5c1d557d23665353f18c6ae2c6fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=9A=A8=EC=9B=90?= Date: Tue, 29 Oct 2024 20:43:02 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=82=AC=EC=9D=B4=ED=8A=B8=20=EB=93=9C?= =?UTF-8?q?=EB=A1=AD=EB=8B=A4=EC=9A=B4=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/EditorPage/MdEditor.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/EditorPage/MdEditor.jsx b/src/components/EditorPage/MdEditor.jsx index e0dbe4a..6c48f2d 100644 --- a/src/components/EditorPage/MdEditor.jsx +++ b/src/components/EditorPage/MdEditor.jsx @@ -62,6 +62,8 @@ function MdEditor() { } }; + console.log(postData?.site); + const handleModalSave = (thumbnail) => { postImageUpload({ img: thumbnail }).then((res) => { const addedPostData = { @@ -99,7 +101,7 @@ function MdEditor() { useEffect(() => { setPostData({ language: isEdit ? data?.til.language : "", - site: isEdit ? data?.til.language : "", + site: isEdit ? data?.til.site : "", algorithmId: isEdit ? data?.til.algorithmId : null, title: isEdit ? data?.til.title : "", link: isEdit ? data?.til.link : "",