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 );