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

View File

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