From b5e1138e576c9600fa81708ee2f682b4ba6f8b00 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 3 Jun 2022 04:25:19 +0200 Subject: [PATCH] Remove unused imports --- pages/events/[slug].tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pages/events/[slug].tsx b/pages/events/[slug].tsx index 8dbf97a..784e608 100644 --- a/pages/events/[slug].tsx +++ b/pages/events/[slug].tsx @@ -2,13 +2,8 @@ import { Event } from "@prisma/client"; import { NextPageContext } from "next"; import { useTranslation } from "next-i18next"; import { serverSideTranslations } from "next-i18next/serverSideTranslations"; -import { useRouter } from "next/router"; import { useEffect } from "react"; -import useSWR from "swr"; -import { ErrorInline } from "../../components/ErrorInline"; -import { Loading } from "../../components/Loading"; import { PostcardContext } from "../../contexts/postcard"; -import {useEventDetail} from "../../hooks/useEventDetail" import { useDefinedContext } from "../../utils/definedContext"; import { database } from "../../utils/prismaClient";