This commit is contained in:
github-actions[bot] 2022-10-11 21:37:05 +00:00 committed by GitHub
commit f885f89cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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={