Skip to content

Commit

Permalink
fix #5: steps of swap show wrong amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Nam Hoang committed Nov 14, 2019
1 parent 72e1700 commit b88ae2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/renderer/components/SwapDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class SwapDetails extends React.Component {
<ExternalLink url={stage.event.data.tx_hash ? blockExplorer.tx(stage.event.data.coin, stage.event.data.tx_hash) : null}>
<div className="item completed">
<h6>{t(`swapStages.${stage.event.type}`)}</h6>
<p>{stage.event.data.total_amount}<br/>{stage.event.data.coin}</p>
{/* <p>{stage.event.data.total_amount}<br/>{stage.event.data.coin}</p> */}
{parseFloat(stage.event.data.my_balance_change) !== 0 && (<p>{stage.event.data.my_balance_change}<br/>{stage.event.data.coin}</p>)}
</div>
</ExternalLink>
) : (
Expand Down

0 comments on commit b88ae2d

Please sign in to comment.