Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

fix: Relates to #324. Show link to Blockscout upon confirmed, not the first confirmation #377

Merged
merged 2 commits into from
Jan 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/fether-react/src/Send/Sent/Sent.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ class Sent extends Component {
renderLink = () => {
const {
chainName,
sendStore: { confirmations, txStatus },
sendStore: { txStatus },
token
} = this.props;

if (confirmations >= 0) {
if (txStatus.confirmed) {
return (
<a
href={blockscoutTxUrl(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
color: $grey;
font-size: 0.8rem;
line-height: 1.4;
padding-top: 0.5rem;
}
}
}