refactor: 불필요한 주석 제거

This commit is contained in:
jhynsoo 2024-07-22 12:43:58 +09:00
parent cfe9e6de2c
commit 06c46fbf76
3 changed files with 1 additions and 26 deletions

View File

@ -3,6 +3,7 @@ import instance from '../../utils/axios/instance';
import { API_URL } from '../../constants';
export function useNotices(lectureId) {
// TODO: API url 업데이트
const response = useQuery({
queryKey: ['noticelist', lectureId],
queryFn: instance.get(`${API_URL}/notice/${lectureId}`),

View File

@ -30,30 +30,6 @@ export default function LectureInfoPage() {
},
};
// const lectureData = {
// title: ' ',
// img: '',
// tutor: '',
// tutorImg: '',
// term: '2021.07.01 ~ 2021.12.31',
// time: ' , 19:00 ~ 21:00',
// description: [
// {
// title: '',
// content: ' .',
// },
// {
// title: '',
// content:
// '1. \n2. \n3. \n4. \n5. \n6. \n7. \n8. \n9. \n10. ',
// },
// {
// title: ' ',
// content: ' ',
// },
// ],
// };
return (
<>
<LectureHeader

View File

@ -11,8 +11,6 @@ export default function NoticeListPage() {
],
};
// const { data: notices } = useNotices();
return (
<ArticleBoard
title="공지사항"