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

fix submarine link

This commit is contained in:
Matthias Kretschmann 2019-07-19 16:13:02 +02:00
parent 68250f5ae5
commit abe3f9630f
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -66,13 +66,9 @@ class Faucet extends PureComponent<{}, FaucetState> {
const { network } = this.context
const { trxHash } = this.state
const submarineLink = `https://submarine${
network === 'Duero'
? '.duero'
: network === 'Pacific'
? '.pacific'
: ''
}.dev-ocean.com/tx/${trxHash}`
const submarineLink = `https://submarine.${
network === 'pacific' ? 'oceanprotocol' : `${network}.dev-ocean`
}.com/tx/${trxHash}`
return (
<div className={styles.success}>