From 8b339e68b3b122f6495be770f7c013c141935ab9 Mon Sep 17 00:00:00 2001 From: chark1es Date: Tue, 2 Apr 2024 22:31:52 -0700 Subject: [PATCH] Update EventList.jsx --- src/components/react/EventList.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/react/EventList.jsx b/src/components/react/EventList.jsx index 903ac4c..6cca4a4 100644 --- a/src/components/react/EventList.jsx +++ b/src/components/react/EventList.jsx @@ -1,9 +1,9 @@ import React, { useEffect, useState } from "react"; import ReactDOM from "react-dom"; -import Event from "./Event"; // Adjust the import path as necessary +import Event from "./Event"; const EventList = ({ CALENDAR_API_KEY }) => { - const [events, setEvents] = useState([]); // Use an array to store multiple events + const [events, setEvents] = useState([]); const [loading, setLoading] = useState(true); const [error, setError] = useState(null);