fix: 불필요한 콘솔 로그 제거
This commit is contained in:
parent
895848219d
commit
eb2c337d18
@ -9,7 +9,6 @@ export function useNoticeWrite() {
|
||||
category: 'announcement',
|
||||
content,
|
||||
};
|
||||
console.log(newNotice);
|
||||
return instance.post(`${API_URL}/board`, newNotice);
|
||||
};
|
||||
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user