Merge pull request #74 from Permissionless-Software-Foundation/feature/link_txid_blockExplorer

Link TXID to Block Explorer
This commit is contained in:
Chris Troutner
2020-09-28 10:31:55 -07:00
committed by GitHub
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class Configure extends React.Component {
walletInfo={_this.props.walletInfo}
setBchWallet={_this.props.setBchWallet}
/>
<JsonWebTokens
setWalletInfo={_this.props.setWalletInfo}
walletInfo={_this.props.walletInfo}
@@ -85,7 +85,13 @@ class Send extends React.Component {
<p className='error-color'>{_this.state.errMsg}</p>
)}
{_this.state.txId && (
<p className=''>Transaction ID: {_this.state.txId}</p>
<a
target='_blank'
rel="noopener noreferrer"
href={`https://explorer.bitcoin.com/bch/tx/${_this.state.txId}`}
>
Transaction ID: {_this.state.txId}
</a>
)}
</Col>
</Row>