Skip to content

Commit

Permalink
use totalFiat for fiat amount
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed May 1, 2019
1 parent b0e7522 commit 35bad3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,7 @@ const Success = props => {
<ExchangeAmounts>
{coin === 'ETH' ? (
<React.Fragment>
<SummaryExchangeAmount>
<FiatDisplay coin={coin} size='16px' weight={500}>
{totalCrypto}
</FiatDisplay>
</SummaryExchangeAmount>
<SummaryExchangeAmount>{totalFiat}</SummaryExchangeAmount>
<SummarySubExchangeAmount>
<CoinDisplay coin={coin} size='14px' weight={300}>
{totalCrypto}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,16 @@ exports[`StatusBar renders correctly 1`] = `
</GetStarted__Row>
</GetStarted__Column>
<GetStarted__Column>
<GetStarted__PreviewImage />
<GetStarted__IntroImage
name="swap-intro"
srcset={
Object {
"swap-intro2": "2x",
"swap-intro3": "3x",
}
}
width="400px"
/>
</GetStarted__Column>
</GetStarted__Container>
</GetStarted__Wrapper>
Expand Down

0 comments on commit 35bad3b

Please sign in to comment.