import { Trans } from "next-i18next"; import type { Dispatch, SetStateAction } from "react"; import { SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Dialog, DialogContent, DialogClose, DialogFooter } from "@calcom/ui"; export const KYCVerificationDialog = (props: { isOpenDialog: boolean; setIsOpenDialog: Dispatch>; isPartOfTeam: boolean; }) => { const { isOpenDialog, setIsOpenDialog, isPartOfTeam } = props; const { t } = useLocale(); const isTeamString = isPartOfTeam ? "team" : ""; return (
), }} values={{ supportEmail: SUPPORT_MAIL_ADDRESS === "help@cal.com" ? "support@cal.com" : SUPPORT_MAIL_ADDRESS, teamOrAccount: isTeamString || "account", }} />
, ul:
    }} values={{ teamOrUser: isPartOfTeam ? "team URL" : "user name" }} />
); };