Remove direct references to AddressOrENSName

This commit is contained in:
Willian Mitsuda 2022-02-27 13:31:00 -03:00
parent 7e85f1fcca
commit d8871942ab
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import React from "react";
import StandardSubtitle from "../StandardSubtitle";
import ContentFrame from "../ContentFrame";
import AddressOrENSName from "./AddressOrENSName";
import DecoratedAddressLink from "./DecoratedAddressLink";
type AddressOrENSNameInvalidNonceProps = {
addressOrENSName: string;
@ -15,7 +15,7 @@ const AddressOrENSNameInvalidNonce: React.FC<
<StandardSubtitle>Transaction Details</StandardSubtitle>
<ContentFrame>
<div className="flex py-4 text-sm">
<AddressOrENSName address={addressOrENSName} />
<DecoratedAddressLink address={addressOrENSName} />
<span>: no transaction found for nonce="{nonce}".</span>
</div>
</ContentFrame>

View File

@ -1,7 +1,7 @@
import React from "react";
import StandardSubtitle from "../StandardSubtitle";
import ContentFrame from "../ContentFrame";
import AddressOrENSName from "./AddressOrENSName";
import DecoratedAddressLink from "./DecoratedAddressLink";
type AddressOrENSNameNoTxProps = {
addressOrENSName: string;
@ -14,7 +14,7 @@ const AddressOrENSNameNoTx: React.FC<AddressOrENSNameNoTxProps> = ({
<StandardSubtitle>Transaction Details</StandardSubtitle>
<ContentFrame>
<div className="flex py-4 text-sm">
<AddressOrENSName address={addressOrENSName} />
<DecoratedAddressLink address={addressOrENSName} />
<span>: no outbound transactions found.</span>
</div>
</ContentFrame>