Skip to content

Commit

Permalink
fix(tx-feed): use coinTicker instead of displayName for swaps in tx feed
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Feb 1, 2021
1 parent 3fb46fc commit 4904df9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import {
import { Text } from 'blockchain-info-components'

const getOutputCoinDisplayName = (props: Props) => {
return path([getOutput(props.order), 'displayName'], props.supportedCoins)
return path([getOutput(props.order), 'coinTicker'], props.supportedCoins)
}
const getInputCoinDisplayName = (props: Props) => {
return path([getInput(props.order), 'displayName'], props.supportedCoins)
return path([getInput(props.order), 'coinTicker'], props.supportedCoins)
}
export const IconTx = (props: Props) => {
return <SharedIconTx type='SWAP' coin={props.coin} />
Expand Down

0 comments on commit 4904df9

Please sign in to comment.