Skip to content

Commit

Permalink
refactor: 메서드 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy979 committed Oct 9, 2022
1 parent a2680b7 commit 6576704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ScheduleModal/ScheduleModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 6576704

Please sign in to comment.