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 = [];