Unverified Commit 590c5d12 authored by Amaury Martiny's avatar Amaury Martiny Committed by GitHub
Browse files

Merge pull request #377 from paritytech/luke-324-tx-status

fix: Relates to #324. Show link to Blockscout upon confirmed, not the first confirmation
parents d67f9124 099b8127
Pipeline #28791 passed with stages
in 9 minutes and 49 seconds
...@@ -141,11 +141,11 @@ class Sent extends Component { ...@@ -141,11 +141,11 @@ class Sent extends Component {
renderLink = () => { renderLink = () => {
const { const {
chainName, chainName,
sendStore: { confirmations, txStatus }, sendStore: { txStatus },
token token
} = this.props; } = this.props;
if (confirmations >= 0) { if (txStatus.confirmed) {
return ( return (
<a <a
href={blockscoutTxUrl( href={blockscoutTxUrl(
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
color: $grey; color: $grey;
font-size: 0.8rem; font-size: 0.8rem;
line-height: 1.4; line-height: 1.4;
padding-top: 0.5rem;
} }
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment