Skip to content

Commit

Permalink
fix: fixed wrong payout
Browse files Browse the repository at this point in the history
  • Loading branch information
meenakshi-deriv committed Sep 2, 2024
1 parent f1a6b3e commit 4dfb4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/app/pages/trade/purchase/purchase.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const Purchase = () => {
<span className='label'>{data?.bottom_display_text}</span>
<div className='content'>
<span className='text'>{amount_type === 'payout' ? localize('Stake') : localize('Payout')}</span>
<span className='text'>{amount_type === 'payout' ? data?.top_amount : data?.top_payout_amount } {displayCurrency(data?.top_payout_amount)}</span>
<span className='text'>{amount_type === 'payout' ? data?.bottom_amount : data?.bottom_payout_amount } {displayCurrency(data?.top_payout_amount)}</span>
</div>
</div>
</>
Expand Down

0 comments on commit 4dfb4f4

Please sign in to comment.