diff --git a/apps/web/components/Shell.tsx b/apps/web/components/Shell.tsx index 2464f0f75e..dcf5f9678e 100644 --- a/apps/web/components/Shell.tsx +++ b/apps/web/components/Shell.tsx @@ -17,6 +17,7 @@ import { useRouter } from "next/router"; import React, { Fragment, ReactNode, useEffect } from "react"; import { Toaster } from "react-hot-toast"; +import { useIsEmbed } from "@calcom/embed-core"; import Button from "@calcom/ui/Button"; import Dropdown, { DropdownMenuContent, @@ -132,6 +133,7 @@ export default function Shell(props: { // use when content needs to expand with flex flexChildrenContainer?: boolean; }) { + const isEmbed = useIsEmbed(); const { t } = useLocale(); const router = useRouter(); const { loading, session } = useRedirectToLoginIfUnauthenticated(); @@ -228,7 +230,7 @@ export default function Shell(props: { className={classNames("flex h-screen overflow-hidden", props.large ? "bg-white" : "bg-gray-100")} data-testid="dashboard-shell"> {status === "authenticated" && ( -
+
@@ -319,7 +321,9 @@ export default function Shell(props: { )}> {/* show top navigation for md and smaller (tablet and phones) */} {status === "authenticated" && ( -
{/* show bottom navigation for md and smaller (tablet and phones) */} {status === "authenticated" && ( -