diff --git a/apps/web/components/Shell.tsx b/apps/web/components/Shell.tsx index 12dd4ea8..15efb679 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, @@ -135,6 +136,7 @@ export default function Shell(props: { flexChildrenContainer?: boolean; isPublic?: boolean; }) { + const isEmbed = useIsEmbed(); const { t } = useLocale(); const router = useRouter(); const { loading, session } = useRedirectToLoginIfUnauthenticated(props.isPublic); @@ -231,7 +233,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" && ( -
+
@@ -322,7 +324,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" && ( -