diff --git a/static/app-strings.json b/static/app-strings.json index 246f67980..9b59ec2fc 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1765,6 +1765,7 @@ "This process cannot be reversed.": "This process cannot be reversed.", "View transaction": "View transaction", "Amount copied.": "Amount copied.", + "Copy transaction ID": "Copy transaction ID", "Transaction ID copied.": "Transaction ID copied.", "This page can be closed while the transactions are in progress.\nYou can view the status later from:\n • Wallet » Swap » View Past Swaps": "This page can be closed while the transactions are in progress.\nYou can view the status later from:\n • Wallet » Swap » View Past Swaps", "Credits sent": "Credits sent", diff --git a/ui/component/walletSwap/view.jsx b/ui/component/walletSwap/view.jsx index 16cbcab8a..8e3733857 100644 --- a/ui/component/walletSwap/view.jsx +++ b/ui/component/walletSwap/view.jsx @@ -379,23 +379,9 @@ function WalletSwap(props: Props) { } const explorerUrl = (coin, txid) => { - if (!txid) { - return ''; - } - switch (coin) { - case 'DAI': - case 'USDC': - default: - return ''; - case 'BTC': - return `https://www.blockchain.com/btc/tx/${txid}`; - case 'ETH': - return `https://www.blockchain.com/eth/tx/${txid}`; - case 'LTC': - return `https://live.blockcypher.com/ltc/tx/${txid}/`; - case 'BCH': - return `https://www.blockchain.com/bch/tx/${txid}`; - } + // It's unclear whether we can link to sites like blockchain.com. + // Don't do it for now. + return ''; }; if (isSend) { @@ -407,7 +393,7 @@ function WalletSwap(props: Props) { {!url && (