From 808394bd527215ab2a88d294daa23280fa8d83eb Mon Sep 17 00:00:00 2001 From: jhy979 Date: Sun, 9 Oct 2022 21:44:08 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=A9=94=EC=84=9C=EB=93=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ScheduleModal/ScheduleModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ScheduleModal/ScheduleModal.tsx b/frontend/src/components/ScheduleModal/ScheduleModal.tsx index c5cd69b9..936d1697 100644 --- a/frontend/src/components/ScheduleModal/ScheduleModal.tsx +++ b/frontend/src/components/ScheduleModal/ScheduleModal.tsx @@ -77,7 +77,7 @@ function ScheduleModal({ return dateTime.replace('T', ' '); }; - const canEditSchedule = editableCategoryGetResponse?.data.find( + const canEditSchedule = editableCategoryGetResponse?.data.some( (category) => category.id === scheduleInfo.categoryId && category.categoryType !== CATEGORY_TYPE.GOOGLE );