1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

fix Nile submarine links

* specifically return empty string
This commit is contained in:
Matthias Kretschmann 2019-06-13 16:37:20 +02:00
parent 305e050391
commit 01d5bf703d
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -21,10 +21,9 @@ const VersionTableContracts = ({
</td>
<td>
<a
href={`https://submarine${network === 'duero' &&
'.duero'}.dev-ocean.com/address/${
contracts[key]
}`}
href={`https://submarine${
network === 'duero' ? '.duero' : ''
}.dev-ocean.com/address/${contracts[key]}`}
>
<code>{contracts[key]}</code>
</a>