import clsx from 'clsx' import React, { useEffect, useState } from 'react' import { ENV_CONFIG } from '../../common/envs/constants' import { User } from '../../common/user' import { formatMoney } from '../../common/util/format' import { useUser } from '../hooks/use-user' import { buyLeaderboardSlot } from '../lib/firebase/api-call' import { AmountInput } from './amount-input' import { Avatar } from './avatar' import { Col } from './layout/col' import { Modal } from './layout/modal' import { Row } from './layout/row' import { SiteLink } from './site-link' import { Title } from './title' export function Manaboard(props: { title: string users: User[] className?: string }) { // TODO: Ideally, highlight your own entry on the leaderboard const { title, users, className } = props return (
#
|
Name | Value | |
---|---|---|---|
{index + 1}
|
{user.name}
|
|