From eb2c337d18b177a6d761d4d7f23e65a87714dfe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EA=B8=B0=EC=98=81?= Date: Mon, 29 Jul 2024 14:11:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=BD=98=EC=86=94=20=EB=A1=9C=EA=B7=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/hooks/api/useNoticeWrite.js | 1 - frontend/src/pages/NoticeWritePage/NoticeWritePage.jsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/frontend/src/hooks/api/useNoticeWrite.js b/frontend/src/hooks/api/useNoticeWrite.js index afba9f8..eab70f9 100644 --- a/frontend/src/hooks/api/useNoticeWrite.js +++ b/frontend/src/hooks/api/useNoticeWrite.js @@ -9,7 +9,6 @@ export function useNoticeWrite() { category: 'announcement', content, }; - console.log(newNotice); return instance.post(`${API_URL}/board`, newNotice); }; diff --git a/frontend/src/pages/NoticeWritePage/NoticeWritePage.jsx b/frontend/src/pages/NoticeWritePage/NoticeWritePage.jsx index 0e2cf52..4211fc6 100644 --- a/frontend/src/pages/NoticeWritePage/NoticeWritePage.jsx +++ b/frontend/src/pages/NoticeWritePage/NoticeWritePage.jsx @@ -10,9 +10,7 @@ export default function NoticeWritePage() { const handleSubmit = async (e, title, content) => { e.preventDefault(); - console.log(lectureId, content, title); await noticeWrite(lectureId, title, content); - navigate('..'); }; return (