import Link from "next/link"; import { TeamPageProps } from "pages/team/[slug]"; import React from "react"; import { WEBAPP_URL } from "@calcom/lib/constants"; import Button from "@calcom/ui/Button"; import { Icon } from "@calcom/ui/Icon"; import { Avatar } from "@calcom/ui/v2"; import { useLocale } from "@lib/hooks/useLocale"; type TeamType = TeamPageProps["team"]; type MembersType = TeamType["members"]; type MemberType = MembersType[number]; const Team = ({ team }: TeamPageProps) => { const { t } = useLocale(); const Member = ({ member }: { member: MemberType }) => { return (
{member.name}
{member.bio || t("user_from_team", { user: member.name, team: team.name })}