diff --git a/src/app/events/page.tsx b/src/app/events/page.tsx index afc2f1b..c34b63b 100644 --- a/src/app/events/page.tsx +++ b/src/app/events/page.tsx @@ -1,18 +1,18 @@ -import Calendar from "@/components/events/Calendar"; +// import Calendar from "@/components/events/Calendar"; type Params = { month: string | null; year: string | null; }; export default function Events({ searchParams }: { searchParams: Params }) { - const today = new Date(); - const month = parseInt(searchParams.month || today.getMonth().toString()); - const year = parseInt(searchParams.year || today.getFullYear().toString()); + // const today = new Date(); + // const month = parseInt(searchParams.month || today.getMonth().toString()); + // const year = parseInt(searchParams.year || today.getFullYear().toString()); return (
Loading...
; - if (error) return{error}
; +// if (loading) returnLoading...
; +// if (error) return{error}
; - return ( -- {day} -
-+// {day} +//
+//