Skip to content

Commit

Permalink
fix ESLint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet committed Nov 13, 2024
1 parent abf167d commit 01d7953
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div
Expand Down

0 comments on commit 01d7953

Please sign in to comment.