fix: removed the 'bitcoincash:' substring from bch addresses on the
admin
This commit is contained in:
parent
14cbd127c4
commit
7da522b1da
4 changed files with 21 additions and 9 deletions
|
|
@ -11,7 +11,7 @@ import Title from 'src/components/Title'
|
|||
import DataTable from 'src/components/tables/DataTable'
|
||||
import { ReactComponent as TxInIcon } from 'src/styling/icons/direction/cash-in.svg'
|
||||
import { ReactComponent as TxOutIcon } from 'src/styling/icons/direction/cash-out.svg'
|
||||
import { toUnit } from 'src/utils/coin'
|
||||
import { toUnit, formatCryptoAddress } from 'src/utils/coin'
|
||||
|
||||
import DetailsRow from './DetailsCard'
|
||||
import { mainStyles } from './Transactions.styles'
|
||||
|
|
@ -111,7 +111,7 @@ const Transactions = () => {
|
|||
},
|
||||
{
|
||||
header: 'Address',
|
||||
view: R.path(['toAddress']),
|
||||
view: it => formatCryptoAddress(it.cryptoCode, it.toAddress),
|
||||
className: classes.overflowTd,
|
||||
size: 'sm',
|
||||
width: 140
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue