fix: 불필요한 콘솔 로그 제거

This commit is contained in:
정기영 2024-07-29 14:11:32 +09:00
parent 895848219d
commit eb2c337d18
2 changed files with 0 additions and 3 deletions

View File

@ -9,7 +9,6 @@ export function useNoticeWrite() {
category: 'announcement', category: 'announcement',
content, content,
}; };
console.log(newNotice);
return instance.post(`${API_URL}/board`, newNotice); return instance.post(`${API_URL}/board`, newNotice);
}; };

View File

@ -10,9 +10,7 @@ export default function NoticeWritePage() {
const handleSubmit = async (e, title, content) => { const handleSubmit = async (e, title, content) => {
e.preventDefault(); e.preventDefault();
console.log(lectureId, content, title);
await noticeWrite(lectureId, title, content); await noticeWrite(lectureId, title, content);
navigate('..'); navigate('..');
}; };
return ( return (