feat: updated troubleshooting instructions and links for mainnet (#161)

This commit is contained in:
Vojtech Simetka
2021-08-09 14:23:26 +02:00
committed by GitHub
parent be8b88516b
commit 960ffb8fdd
8 changed files with 28 additions and 42 deletions
+3 -4
View File
@@ -7,7 +7,6 @@ import { ReactElement } from 'react'
interface Props {
address: string | undefined
network?: string
hideBlockie?: boolean
transaction?: boolean
truncate?: boolean
@@ -37,9 +36,9 @@ export default function EthereumAddress(props: Props): ReactElement {
}
: { marginRight: '7px' }
}
href={`https://${props.network}.${process.env.REACT_APP_ETHERSCAN_HOST}/${
props.transaction ? 'tx' : 'address'
}/${props.address}`}
href={`${process.env.REACT_APP_BLOCKCHAIN_EXPLORER_URL}/${props.transaction ? 'tx' : 'address'}/${
props.address
}`}
target="_blank"
rel="noreferrer"
>