diff --git a/apps/web/components/eventtype/settings/DisableAllEmailsSetting.tsx b/apps/web/components/eventtype/settings/DisableAllEmailsSetting.tsx deleted file mode 100644 index 453967a087..0000000000 --- a/apps/web/components/eventtype/settings/DisableAllEmailsSetting.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import type { TFunction } from "next-i18next"; -import { Trans } from "next-i18next"; -import { useState } from "react"; - -import { - SettingsToggle, - Dialog, - DialogContent, - DialogFooter, - InputField, - DialogClose, - Button, -} from "@calcom/ui"; - -interface DisableEmailsSettingProps { - checked: boolean; - onCheckedChange: (e: boolean) => void; - recipient: "attendees" | "hosts"; - t: TFunction; -} - -export const DisableAllEmailsSetting = ({ - checked, - onCheckedChange, - recipient, - t, -}: DisableEmailsSettingProps) => { - const [dialogOpen, setDialogOpen] = useState(false); - const [confirmText, setConfirmText] = useState(""); - - const title = - recipient === "attendees" ? t("disable_all_emails_to_attendees") : t("disable_all_emails_to_hosts"); - - return ( -
- It is your responsibility to ensure that your {{ recipient }} are aware of any bookings and
- changes to their bookings.
+ It is your responsibility to ensure that your {recipient} are aware of any bookings and changes
+ to their bookings.
{t("type_confirm_to_continue")}