From a5c871eb74f77a505ca95c5299f6d5e9df53854c Mon Sep 17 00:00:00 2001 From: Sasha Mysak Date: Mon, 15 Jan 2024 16:28:27 +0100 Subject: [PATCH] fix: rebase on 13.5 --- apps/web/app/future/auth/forgot-password/[id]/page.tsx | 4 ++-- apps/web/app/future/auth/forgot-password/page.tsx | 4 ++-- apps/web/pages/d/[link]/[slug].tsx | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/web/app/future/auth/forgot-password/[id]/page.tsx b/apps/web/app/future/auth/forgot-password/[id]/page.tsx index 1bdf525f066e9b..126faa3a7c236f 100644 --- a/apps/web/app/future/auth/forgot-password/[id]/page.tsx +++ b/apps/web/app/future/auth/forgot-password/[id]/page.tsx @@ -1,5 +1,5 @@ import SetNewUserPassword from "@pages/auth/forgot-password/[id]"; -import { withAppDir } from "app/AppDirSSRHOC"; +import { withAppDirSsr } from "app/WithAppDirSsr"; import { _generateMetadata } from "app/_utils"; import { WithLayout } from "app/layoutHOC"; @@ -15,5 +15,5 @@ export const generateMetadata = async () => { export default WithLayout({ getLayout: null, Page: SetNewUserPassword, - getData: withAppDir(getServerSideProps), + getData: withAppDirSsr(getServerSideProps), })<"P">; diff --git a/apps/web/app/future/auth/forgot-password/page.tsx b/apps/web/app/future/auth/forgot-password/page.tsx index 9eaa7362bdf97f..5b3bc2787195ed 100644 --- a/apps/web/app/future/auth/forgot-password/page.tsx +++ b/apps/web/app/future/auth/forgot-password/page.tsx @@ -1,5 +1,5 @@ import ForgotPassword from "@pages/auth/forgot-password"; -import { withAppDir } from "app/AppDirSSRHOC"; +import { withAppDirSsr } from "app/WithAppDirSsr"; import { _generateMetadata } from "app/_utils"; import { WithLayout } from "app/layoutHOC"; @@ -15,5 +15,5 @@ export const generateMetadata = async () => { export default WithLayout({ getLayout: null, Page: ForgotPassword, - getData: withAppDir(getServerSideProps), + getData: withAppDirSsr(getServerSideProps), })<"P">; diff --git a/apps/web/pages/d/[link]/[slug].tsx b/apps/web/pages/d/[link]/[slug].tsx index 709527beb24ca9..8a52eff77d3a0d 100644 --- a/apps/web/pages/d/[link]/[slug].tsx +++ b/apps/web/pages/d/[link]/[slug].tsx @@ -1,3 +1,4 @@ +"use client"; import { Booker } from "@calcom/atoms"; import { getBookerWrapperClasses } from "@calcom/features/bookings/Booker/utils/getBookerWrapperClasses";