import { firebaseLogout, User } from '../lib/firebase/users'
import { Header } from './header'
import { ContractsList } from './contracts-list'
import { Title } from './title'
import { Row } from './layout/row'
import { formatMoney } from '../lib/util/format'
import Link from 'next/link'
import clsx from 'clsx'
import { SEO } from './SEO'
export function UserLink(props: { username: string; className?: string }) {
const { username, className } = props
return (
e.stopPropagation()}
>
@{username}
)
}
function UserCard(props: { user: User; showPrivateInfo?: boolean }) {
const { user, showPrivateInfo } = props
return (
{user?.email} {formatMoney(user?.balance)}