-
- {/* This will require the i18n string passed in */}
-
-
- {props.actionOnClick ? (
-
- ) : (
-
+ )}
+ {props.type === "confirmation" && (
+
+ {Icon && (
+
+
+
)}
+
+ {title &&
}
+ {props.description &&
{props.description}
}
+
-
- )}
-
-
- )
+ )}
+ {!props.useOwnActionButtons && (
+
+
+
+ {/* This will require the i18n string passed in */}
+
+
+ {props.actionOnClick ? (
+
+ ) : (
+
+ )}
+
+
+ )}
+
+
+ );
+ }
);
type DialogHeaderProps = {
diff --git a/packages/ui/v2/core/Shell.tsx b/packages/ui/v2/core/Shell.tsx
index ec9ad23a71..6c750303c3 100644
--- a/packages/ui/v2/core/Shell.tsx
+++ b/packages/ui/v2/core/Shell.tsx
@@ -10,7 +10,6 @@ import dayjs from "@calcom/dayjs";
import { useIsEmbed } from "@calcom/embed-core/embed-iframe";
import ImpersonatingBanner from "@calcom/features/ee/impersonation/components/ImpersonatingBanner";
import HelpMenuItem from "@calcom/features/ee/support/components/HelpMenuItem";
-import UserV2OptInBanner from "@calcom/features/users/components/UserV2OptInBanner";
import CustomBranding from "@calcom/lib/CustomBranding";
import classNames from "@calcom/lib/classNames";
import { JOIN_SLACK, ROADMAP, DESKTOP_APP_LINK, WEBAPP_URL } from "@calcom/lib/constants";
@@ -27,6 +26,7 @@ import Dropdown, {
DropdownMenuPortal,
} from "@calcom/ui/Dropdown";
import { Icon } from "@calcom/ui/Icon";
+import TimezoneChangeDialog from "@calcom/ui/TimezoneChangeDialog";
import Button from "@calcom/ui/v2/core/Button";
/* TODO: Get this from endpoint */
@@ -136,6 +136,9 @@ const Layout = (props: LayoutProps) => {
+ {/* todo: only run this if timezone is different */}
+