fix ooo section to use settings layout (#13623)
This commit is contained in:
1 parent
cf4ee142de
commit
16c1cf7b23
1 file changed
+4
-5
@@ -4,7 +4,7 @@ import { Controller, useForm, useFormState } from "react-hook-form";
|
|||||||
|
|
||||||
import dayjs from "@calcom/dayjs";
|
import dayjs from "@calcom/dayjs";
|
||||||
import SectionBottomActions from "@calcom/features/settings/SectionBottomActions";
|
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 { useHasTeamPlan } from "@calcom/lib/hooks/useHasPaidPlan";
|
||||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||||
import { trpc } from "@calcom/trpc/react";
|
import { trpc } from "@calcom/trpc/react";
|
||||||
@@ -244,14 +244,13 @@ const OutOfOfficePage = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Meta title={t("out_of_office")} description={t("out_of_office_description")} borderInShellHeader />
|
<Meta title={t("out_of_office")} description={t("out_of_office_description")} borderInShellHeader />
|
||||||
<Shell withoutMain={false} withoutSeo>
|
<OutOfOfficeSection />
|
||||||
<OutOfOfficeSection />
|
<OutOfOfficeEntriesList />
|
||||||
<OutOfOfficeEntriesList />
|
|
||||||
</Shell>
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
OutOfOfficePage.getLayout = getLayout;
|
||||||
OutOfOfficePage.PageWrapper = PageWrapper;
|
OutOfOfficePage.PageWrapper = PageWrapper;
|
||||||
|
|
||||||
export default OutOfOfficePage;
|
export default OutOfOfficePage;
|
||||||
Reference in new issue
Block a user