1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-14 17:24:51 +01:00

fix etherscan links

This commit is contained in:
Matthias Kretschmann 2020-10-27 18:07:19 +01:00
parent a81d7b9d8b
commit b2cd4fc79e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -15,7 +15,7 @@ export default function EtherscanLink({
}): ReactElement {
const { appConfig } = useSiteMetadata()
const url =
networkId === 1
(!networkId && appConfig.network === 'mainnet') || networkId === 1
? `https://etherscan.io`
: `https://${
networkId