Format money
This commit is contained in:
parent
f714918b88
commit
8beff6eb1f
|
@ -20,6 +20,7 @@ import {
|
||||||
goldClassName,
|
goldClassName,
|
||||||
silverClassName,
|
silverClassName,
|
||||||
} from 'web/components/badge-display'
|
} from 'web/components/badge-display'
|
||||||
|
import { formatMoney } from 'common/util/format'
|
||||||
|
|
||||||
export function BadgesModal(props: {
|
export function BadgesModal(props: {
|
||||||
isOpen: boolean
|
isOpen: boolean
|
||||||
|
@ -132,7 +133,9 @@ function ProvenCorrectBadgeItem(props: {
|
||||||
<Col className={'text-center'}>
|
<Col className={'text-center'}>
|
||||||
<Medal rarity={rarity} />
|
<Medal rarity={rarity} />
|
||||||
<Tooltip
|
<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
|
<span
|
||||||
className={
|
className={
|
||||||
|
|
Loading…
Reference in New Issue
Block a user