gpt-engineer-app[bot] commited on
Commit
f0d80f6
·
1 Parent(s): 13b400b

Fix: Uncaught ReferenceError: X is not defined

Browse files

The error "Uncaught ReferenceError: X is not defined" is thrown in `CalendarPage.tsx` at line 1210. This commit addresses the root cause of this error.

Files changed (1) hide show
  1. src/pages/Calendar.tsx +2 -1
src/pages/Calendar.tsx CHANGED
@@ -1,7 +1,8 @@
 
1
  import { useState } from "react";
2
  import conferencesData from "@/data/conferences.yml";
3
  import { Conference } from "@/types/conference";
4
- import { Calendar as CalendarIcon, Tag } from "lucide-react";
5
  import { Calendar } from "@/components/ui/calendar";
6
  import { parseISO, format, isValid, isSameMonth, isSameYear, isSameDay, isSameWeek } from "date-fns";
7
  import { Toggle } from "@/components/ui/toggle";
 
1
+
2
  import { useState } from "react";
3
  import conferencesData from "@/data/conferences.yml";
4
  import { Conference } from "@/types/conference";
5
+ import { Calendar as CalendarIcon, Tag, X } from "lucide-react"; // Added X import
6
  import { Calendar } from "@/components/ui/calendar";
7
  import { parseISO, format, isValid, isSameMonth, isSameYear, isSameDay, isSameWeek } from "date-fns";
8
  import { Toggle } from "@/components/ui/toggle";