import Link from 'next/link' import { User } from 'web/lib/firebase/users' import { formatMoney } from 'common/util/format' import { Avatar } from '../avatar' import { trackCallback } from 'web/lib/service/analytics' import { Row } from 'web/components/layout/row' export function ProfileSummary(props: { user: User }) { const { user } = props return (
{user.name}
{formatMoney(Math.floor(user.balance))} {user.currentBettingStreak && user.currentBettingStreak > 0 && (
🔥{user.currentBettingStreak}
)}
) }