diff --git a/client/src/pages/EventsPage.tsx b/client/src/pages/EventsPage.tsx
index 25114d2..768857b 100644
--- a/client/src/pages/EventsPage.tsx
+++ b/client/src/pages/EventsPage.tsx
@@ -77,12 +77,14 @@ const EventsPage: React.FC = () => {
const matchTownCouncil = selectedTownCouncil
? event.location === selectedTownCouncil
: true;
- const matchTime = selectedTime
- ? event.time.toLowerCase().trim() === selectedTime.toLowerCase().trim()
- : true;
+ const matchTime = selectedTime
+ ? event.time.toLowerCase().trim() === selectedTime.toLowerCase().trim()
+ : true;
- console.log('Event Time:', event.time);
- console.log(`Filtering: ${event.title} | Category: ${matchCategory} | Town Council: ${matchTownCouncil} | Time: ${matchTime}`);
+ console.log("Event Time:", event.time);
+ console.log(
+ `Filtering: ${event.title} | Category: ${matchCategory} | Town Council: ${matchTownCouncil} | Time: ${matchTime}`
+ );
return matchCategory && matchTownCouncil && matchTime;
});
@@ -141,34 +143,44 @@ const EventsPage: React.FC = () => {
No events available.
) : (
filteredEvents.map((event) => (
-
+
{event.title}
- {event.evtPicture && (
-
-
-
- )}
+
+
+
-
+
{event.description}