Format money

This commit is contained in:
Ian Philips 2022-10-11 15:36:35 -06:00
parent f714918b88
commit 8beff6eb1f

View File

@ -20,6 +20,7 @@ import {
goldClassName,
silverClassName,
} from 'web/components/badge-display'
import { formatMoney } from 'common/util/format'
export function BadgesModal(props: {
isOpen: boolean
@ -132,7 +133,9 @@ function ProvenCorrectBadgeItem(props: {
<Col className={'text-center'}>
<Medal rarity={rarity} />
<Tooltip
text={`Make a comment attached to a winning bet worth ${betAmount}`}
text={`Make a comment attached to a winning bet worth ${formatMoney(
betAmount
)}`}
>
<span
className={