diff --git a/apps/web/components/Embed.tsx b/apps/web/components/Embed.tsx index 3ad578c85c..88c5cf48c2 100644 --- a/apps/web/components/Embed.tsx +++ b/apps/web/components/Embed.tsx @@ -17,6 +17,7 @@ import { Button, Dialog, DialogClose, + DialogFooter, DialogContent, HorizontalTabs, Label, @@ -1206,8 +1207,12 @@ const EmbedTypeCodeAndPreviewDialogContent = ({ /> )} -
-
+
+ + {tab.type === "code" ? (
+
); })} diff --git a/apps/web/components/settings/DisableTwoFactorModal.tsx b/apps/web/components/settings/DisableTwoFactorModal.tsx index f6db328236..6b6f47236f 100644 --- a/apps/web/components/settings/DisableTwoFactorModal.tsx +++ b/apps/web/components/settings/DisableTwoFactorModal.tsx @@ -3,7 +3,7 @@ import { useForm } from "react-hook-form"; import { ErrorCode } from "@calcom/features/auth/lib/ErrorCode"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Button, Dialog, DialogContent, Form, PasswordField } from "@calcom/ui"; +import { Button, Dialog, DialogContent, DialogFooter, Form, PasswordField } from "@calcom/ui"; import TwoFactor from "@components/auth/TwoFactor"; @@ -74,7 +74,7 @@ const DisableTwoFactorAuthModal = ({
-
+
{errorMessage}

}
-
- + -
+ +
diff --git a/apps/web/components/settings/EnableTwoFactorModal.tsx b/apps/web/components/settings/EnableTwoFactorModal.tsx index 36a5db71b3..c6ad80254f 100644 --- a/apps/web/components/settings/EnableTwoFactorModal.tsx +++ b/apps/web/components/settings/EnableTwoFactorModal.tsx @@ -4,7 +4,7 @@ import { useForm } from "react-hook-form"; import { ErrorCode } from "@calcom/features/auth/lib/ErrorCode"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Button, Dialog, DialogContent, Form, TextField } from "@calcom/ui"; +import { Button, Dialog, DialogContent, DialogFooter, Form, TextField } from "@calcom/ui"; import TwoFactor from "@components/auth/TwoFactor"; @@ -150,20 +150,20 @@ const EnableTwoFactorModal = ({ onEnable, onCancel, open, onOpenChange }: Enable <> -
+
{ // eslint-disable-next-line @next/next/no-img-element }
-

+

{secret}

-
+
{errorMessage && ( @@ -173,7 +173,10 @@ const EnableTwoFactorModal = ({ onEnable, onCancel, open, onOpenChange }: Enable )}
-
+ + -
+ diff --git a/apps/web/pages/settings/my-account/profile.tsx b/apps/web/pages/settings/my-account/profile.tsx index c44b8d2279..d7e1004fc1 100644 --- a/apps/web/pages/settings/my-account/profile.tsx +++ b/apps/web/pages/settings/my-account/profile.tsx @@ -243,36 +243,38 @@ const ProfileView = () => { type="creation" Icon={AlertTriangle}> <> -

- {t("delete_account_confirmation_message", { appName: APP_NAME })} -

- {isCALIdentityProviver && ( - - )} +
+

+ {t("delete_account_confirmation_message", { appName: APP_NAME })} +

+ {isCALIdentityProviver && ( + + )} - {user?.twoFactorEnabled && isCALIdentityProviver && ( -
- - - )} + {user?.twoFactorEnabled && isCALIdentityProviver && ( +
+ + + )} - {hasDeleteErrors && } - + {hasDeleteErrors && } +
+ + - @@ -285,7 +287,7 @@ const ProfileView = () => { description={t("confirm_password_change_email")} type="creation" Icon={AlertTriangle}> - <> +
{ /> {confirmPasswordErrorMessage && } - - - - - +
+ + + + diff --git a/packages/app-store/office365video/components/AccountDialog.tsx b/packages/app-store/office365video/components/AccountDialog.tsx index f5a5062708..257f14eedb 100644 --- a/packages/app-store/office365video/components/AccountDialog.tsx +++ b/packages/app-store/office365video/components/AccountDialog.tsx @@ -12,7 +12,7 @@ export function AccountDialog(props: DialogProps) { type="creation" title="Connecting with MS Teams requires a work/school Microsoft account." description="If you continue with a personal account you will receive an error"> - + <> -
-