import MarkdownIt from "markdown-it"; import Link from "next/link"; import { TeamPageProps } from "pages/team/[slug]"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { Avatar } from "@calcom/ui"; import { useLocale } from "@lib/hooks/useLocale"; const md = new MarkdownIt("default", { html: true, breaks: true, linkify: true }); type TeamType = TeamPageProps["team"]; type MembersType = TeamType["members"]; type MemberType = MembersType[number]; const Member = ({ member, teamName }: { member: MemberType; teamName: string | null }) => { const { t } = useLocale(); const isBioEmpty = !member.bio || !member.bio.replace("
{member.name}