From 714e9e796fdc36c1c0567c18c1ddfd1ef4f05099 Mon Sep 17 00:00:00 2001 From: jhj9109 Date: Fri, 29 Sep 2023 05:08:18 +0900 Subject: [PATCH] Hotfix exceptSunday --- src/components/Rotation/Rotation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Rotation/Rotation.tsx b/src/components/Rotation/Rotation.tsx index 20f662b..ba97ab0 100644 --- a/src/components/Rotation/Rotation.tsx +++ b/src/components/Rotation/Rotation.tsx @@ -96,7 +96,7 @@ const setTileDisabled = const rules = { weekdayOnly: ({ date, view: _view }) => isWeekend(date), - exceptSunday: ({ date, view: _view }) => !isSunday(date), + exceptSunday: ({ date, view: _view }) => isSunday(date), } as const satisfies Record; /**