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"; type TeamType = TeamPageProps["team"]; type MembersType = TeamType["members"]; type MemberType = MembersType[number]; const Member = ({ member, teamName }: { member: MemberType; teamName: string | null }) => { const { t } = useLocale(); return (

{member.name}

{member.bio || t("user_from_team", { user: member.name, team: teamName })}

); }; const Members = ({ members, teamName }: { members: MembersType; teamName: string | null }) => { if (!members || members.length === 0) { return null; } return (
{members.map((member) => { return member.username !== null && ; })}
); }; const Team = ({ team }: TeamPageProps) => { return (
); }; export default Team;