From e3446e7e8c09b811c5a9012230425d29752ce45c Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Tue, 2 Jul 2024 16:26:41 +0900 Subject: [PATCH] =?UTF-8?q?#29=20fix:=20=ED=83=80=EC=9E=85=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/calendar/CalendarModal.tsx | 2 +- components/calendar/InfoCalendar.tsx | 1 - pages/calendar.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/calendar/CalendarModal.tsx b/components/calendar/CalendarModal.tsx index a65d991..8cc70f8 100644 --- a/components/calendar/CalendarModal.tsx +++ b/components/calendar/CalendarModal.tsx @@ -7,7 +7,7 @@ const CalendarModal = ({ toggleModal, }: { programIdx: number; - toggleModal: () => {}; + toggleModal: () => void; }) => { const { data }: { data: GetProgramDetailBody } = useGetProgramDetail(programIdx); diff --git a/components/calendar/InfoCalendar.tsx b/components/calendar/InfoCalendar.tsx index 629f3dd..8a08804 100644 --- a/components/calendar/InfoCalendar.tsx +++ b/components/calendar/InfoCalendar.tsx @@ -32,7 +32,6 @@ export default function InfoCalendar({ const customTileContent = ({ date, view }: { date: Date; view: string }) => { if (Array.isArray(data) && view === "month") { let filteredData = data.filter((dayData: MonthCalendarProps) => { - console.log(filterTag); return dayData.category === filterTag || dayData.location === filterTag; }); diff --git a/pages/calendar.tsx b/pages/calendar.tsx index d3d7a5b..9136505 100644 --- a/pages/calendar.tsx +++ b/pages/calendar.tsx @@ -13,7 +13,6 @@ const CalendarPage: NextPage = () => { const [selected, setSelected] = useState(""); const handleSelect = (e) => { - console.log(selected); setSelected(e.target.value); };