From 71370056e74975267f272c69556891f5afdeaee5 Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Tue, 26 Sep 2023 14:18:46 +0700 Subject: [PATCH] fix: typecheck error --- apps/web/pages/apps/[slug]/setup.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/web/pages/apps/[slug]/setup.tsx b/apps/web/pages/apps/[slug]/setup.tsx index f6ec407ab5..4942585a4c 100644 --- a/apps/web/pages/apps/[slug]/setup.tsx +++ b/apps/web/pages/apps/[slug]/setup.tsx @@ -1,15 +1,14 @@ -import type { InferGetStaticPropsType } from "next"; +import type { InferGetServerSidePropsType } from "next"; import { useSession } from "next-auth/react"; import { useRouter, useSearchParams } from "next/navigation"; import { AppSetupPage } from "@calcom/app-store/_pages/setup"; import { getServerSideProps } from "@calcom/app-store/_pages/setup/_getServerSideProps"; -import type { getStaticProps } from "@calcom/app-store/_pages/setup/_getStaticProps"; import { HeadSeo } from "@calcom/ui"; import PageWrapper from "@components/PageWrapper"; -export default function SetupInformation(props: InferGetStaticPropsType) { +export default function SetupInformation(props: InferGetServerSidePropsType) { const searchParams = useSearchParams(); const router = useRouter(); const slug = searchParams?.get("slug") as string;