From 0c65367fdc433bce85baeb1e9c84f7bc54fb4bc2 Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Tue, 2 Jul 2024 17:26:58 +0900 Subject: [PATCH 1/2] =?UTF-8?q?#29=20fix:=20navbar=20z-index=20modal?= =?UTF-8?q?=EC=9D=B4=EB=9E=91=20=EC=95=88=EA=B2=B9=EC=B9=98=EA=B2=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/NavBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/NavBar.tsx b/components/NavBar.tsx index f33edda..d7866b7 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -20,7 +20,7 @@ const NavBar = () => { <>
Date: Tue, 2 Jul 2024 17:31:18 +0900 Subject: [PATCH 2/2] =?UTF-8?q?#29=20fix:=20calendar=20=EB=85=84,=20?= =?UTF-8?q?=EC=9B=94=EC=9D=80=20=EC=84=A0=ED=83=9D=EA=B0=80=EB=8A=A5?= =?UTF-8?q?=ED=95=98=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/challenge/ChallengeCalendar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/challenge/ChallengeCalendar.tsx b/components/challenge/ChallengeCalendar.tsx index a58f9e3..2283df0 100644 --- a/components/challenge/ChallengeCalendar.tsx +++ b/components/challenge/ChallengeCalendar.tsx @@ -19,8 +19,8 @@ export default function ChallengeCalendar({ setClickedDate(clickedDate); }; - const disableAllDates = ({ date }) => { - return true; + const disableDates = ({ date, view }) => { + return view === "month"; }; const customTileContent = ({ date, view }: { date: Date; view: string }) => { @@ -58,7 +58,7 @@ export default function ChallengeCalendar({ prev2Label={null} minDate={new Date(2024, 4, 1)} tileContent={customTileContent} - tileDisabled={disableAllDates} + tileDisabled={disableDates} />