From 16c1cf7b230e4d46c6c47b40bbdcd2a213979d17 Mon Sep 17 00:00:00 2001 From: alannnc Date: Fri, 9 Feb 2024 15:57:08 -0700 Subject: [PATCH] fix ooo section to use settings layout (#13623) --- .../pages/settings/my-account/out-of-office/index.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/web/pages/settings/my-account/out-of-office/index.tsx b/apps/web/pages/settings/my-account/out-of-office/index.tsx index 19a93dd51d..9534a56e8f 100644 --- a/apps/web/pages/settings/my-account/out-of-office/index.tsx +++ b/apps/web/pages/settings/my-account/out-of-office/index.tsx @@ -4,7 +4,7 @@ import { Controller, useForm, useFormState } from "react-hook-form"; import dayjs from "@calcom/dayjs"; import SectionBottomActions from "@calcom/features/settings/SectionBottomActions"; -import Shell from "@calcom/features/shell/Shell"; +import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout"; import { useHasTeamPlan } from "@calcom/lib/hooks/useHasPaidPlan"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { trpc } from "@calcom/trpc/react"; @@ -244,14 +244,13 @@ const OutOfOfficePage = () => { return ( <> - - - - + + ); }; +OutOfOfficePage.getLayout = getLayout; OutOfOfficePage.PageWrapper = PageWrapper; export default OutOfOfficePage;