Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Commit

Permalink
Merge pull request #167 from etclabscore/fix/add-tx-view-contract-link
Browse files Browse the repository at this point in the history
fix: add tx view contract link
  • Loading branch information
shanejonas authored Nov 12, 2019
2 parents e4fa2f6 + 3d75b34 commit 6aedfa6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/TxView/TxView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,16 @@ function TxView(props: ITxViewProps) {

<TableRow>
<TableCell>{t("Contract Address")}</TableCell>
<TableCell>{receipt.contractAddress}</TableCell>
<TableCell>
<Link
component={({ className, children }: { children: any, className: string }) => (
<RouterLink className={className} to={`/address/${receipt.contractAddress}`} >
{children}
</RouterLink>
)}>
{receipt.contractAddress}
</Link>
</TableCell>
</TableRow>

<TableRow>
Expand Down

0 comments on commit 6aedfa6

Please sign in to comment.