From 01d795305daf6ced07275664709c3ad0ed53ba44 Mon Sep 17 00:00:00 2001 From: Viacheslav Turovskyi Date: Wed, 13 Nov 2024 14:54:05 +0200 Subject: [PATCH] fix ESLint errors --- components/Calendar.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/Calendar.tsx b/components/Calendar.tsx index ff667ca47cf6..ae4bde13fecf 100644 --- a/components/Calendar.tsx +++ b/components/Calendar.tsx @@ -29,10 +29,7 @@ export default function Calendar({ className = '', size }: ICalendarProps) { const CALENDAR_URL = 'https://calendar.google.com/calendar/embed?src=c_q9tseiglomdsj6njuhvbpts11c%40group.calendar.google.com&ctz=UTC'; const currentDate = new Date(); - const eventsExist = - eventsData?.filter((event: IEvent) => - moment(event.date).isAfter(currentDate), - ).length > 0; + const eventsExist = eventsData?.filter((event: IEvent) => moment(event.date).isAfter(currentDate)).length > 0; return (