From 2bef633f562f128816caf95fc3ea2e6aec3afd9f Mon Sep 17 00:00:00 2001 From: Abhi jain <91718608+abhijain2003@users.noreply.github.com> Date: Thu, 5 Jan 2023 13:27:18 +0530 Subject: [PATCH] feat: events filter (#2605) * adding useState at required page * removing unused index variable Co-authored-by: Abhi Jain Co-authored-by: Eddie Jaoude --- pages/events.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/events.js b/pages/events.js index d53dd20625a..96849a3ad6e 100644 --- a/pages/events.js +++ b/pages/events.js @@ -5,6 +5,7 @@ import EventCard from "../components/event/EventCard"; import Alert from "../components/Alert"; import Page from "../components/Page"; import EventKey from "../components/event/EventKey"; +import { useState } from "react"; export async function getServerSideProps(context) { let events = [];