mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* add orgs upgrade badge to select * don't allow updating to if no teams or orgs plan * make sure only paying users can request verification codes * add new action helper function * remove kyc code * code clean up * fix verify button UI * fix type errors * add eventTypeRequiresConfirmation everywhere * address feedback --------- Co-authored-by: CarinaWolli <[email protected]>
17 lines
440 B
TypeScript
17 lines
440 B
TypeScript
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
|
|
|
import { Tooltip } from "../tooltip";
|
|
import { Badge } from "./Badge";
|
|
|
|
export const UpgradeOrgsBadge = function UpgradeOrgsBadge() {
|
|
const { t } = useLocale();
|
|
|
|
return (
|
|
<Tooltip content={t("orgs_upgrade_to_enable_feature")}>
|
|
<a href="https://cal.com/enterprise" target="_blank">
|
|
<Badge variant="gray">{t("upgrade")}</Badge>
|
|
</a>
|
|
</Tooltip>
|
|
);
|
|
};
|