import Link from 'next/link' import { User } from 'web/lib/firebase/users' import { formatMoney } from 'common/util/format' import { Avatar } from '../avatar' export function ProfileSummary(props: { user: User }) { const { user } = props return (
{user.name}
{formatMoney(Math.floor(user.balance))}
) }