From 27c545da3ae392c9158f86c80a19169499fa5d14 Mon Sep 17 00:00:00 2001 From: Mason Williams Date: Sun, 21 Jul 2024 19:47:38 -0400 Subject: [PATCH] fix(EventCarousel): normalize event filter comparison --- src/components/EventCarousel/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/EventCarousel/index.tsx b/src/components/EventCarousel/index.tsx index 9ada0a08f..7e6421eeb 100644 --- a/src/components/EventCarousel/index.tsx +++ b/src/components/EventCarousel/index.tsx @@ -1,5 +1,6 @@ import React, {useEffect, useState} from 'react'; import CTAButton from "@site/src/components/CTAButton"; +import { log } from 'console'; type Event = { type: 'All' | 'Podcast' | 'Twitter Space' | 'Livestream' | 'Meetup' @@ -106,7 +107,7 @@ const EventCarousel = () => { {categories.map((category, index) => ( setEventTypeFilter(category.toLowerCase() as Event['type'])} > {category}