Skip to content

Commit

Permalink
Fix total prizes won
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultJRD committed Feb 29, 2024
1 parent 6aae4e7 commit 99f8459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/PoolDetails/PoolDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ const PoolDetails = () => {
<Card flat withoutPadding className='d-flex flex-column flex-lg-row justify-content-between align-items-lg-center p-4'>
<div className='w-100'>
<small className='sub-title'>{I18n.t('poolDetails.winners.totalPrizes')}</small>
<div className='stat-bg-white mb-0 mt-2'>{numeral(prizesStats.totalPrizesAmount).format('$0,0')}</div>
<div className='stat-bg-white mb-0 mt-2'>{numeral(prizesStats.totalPrizesAmount * (prices[denom] ?? 0)).format('$0,0')}</div>
</div>
<div className='w-100 my-4 my-lg-0 mx-0 mx-lg-3'>
<small className='sub-title'>{I18n.t('poolDetails.winners.totalPoolPrizes')}</small>
Expand Down

0 comments on commit 99f8459

Please sign in to comment.