fix: 불필요한 콘솔 로그 제거
This commit is contained in:
parent
895848219d
commit
eb2c337d18
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user