From 5d2f99b21142c31953bcd83ebcf621efd32d7b20 Mon Sep 17 00:00:00 2001 From: Ninad-S <144244166+Ninad-S@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:28:42 -0500 Subject: [PATCH] Add files via upload --- src/app/community/communityEvents.tsx | 76 +++++++++++++-------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/src/app/community/communityEvents.tsx b/src/app/community/communityEvents.tsx index 79b0234..552f42e 100644 --- a/src/app/community/communityEvents.tsx +++ b/src/app/community/communityEvents.tsx @@ -1,38 +1,38 @@ -'use server'; - -import EventCard from '@src/components/events/EventCard'; -import { api } from '@src/trpc/server'; -import Link from 'next/link'; - -const CommunityEvents = async () => { - const events = await api.userMetadata.getEvents(); - if (events.length === 0) { - return ( -