import { useLocale } from "@calcom/lib/hooks/useLocale"; import { EmptyScreen, Avatar } from "@calcom/ui"; export type UnpublishedEntityProps = { teamSlug?: string | null; orgSlug?: string | null; name?: string | null; }; export function UnpublishedEntity(props: UnpublishedEntityProps) { const { t } = useLocale(); const slug = props.orgSlug || props.teamSlug; return (
} headline={t("team_is_unpublished", { team: props.name, })} description={t(`${props.orgSlug ? "org" : "team"}_is_unpublished_description`)} />
); }