diff --git a/src/components/Address.tsx b/src/components/Address.tsx index d757ed3..d7694e5 100644 --- a/src/components/Address.tsx +++ b/src/components/Address.tsx @@ -6,7 +6,7 @@ type AddressProps = { const Address: React.FC = ({ address }) => ( -

{address}

+ {address}
); diff --git a/src/components/AddressLink.tsx b/src/components/AddressLink.tsx index abddf99..a8fd5c3 100644 --- a/src/components/AddressLink.tsx +++ b/src/components/AddressLink.tsx @@ -18,9 +18,9 @@ const AddressLink: React.FC = ({ } font-address truncate`} to={`/address/${address}`} > -

+ {text ?? address} -

+ ); diff --git a/src/components/ENSName.tsx b/src/components/ENSName.tsx index 035c4ed..7bc8032 100644 --- a/src/components/ENSName.tsx +++ b/src/components/ENSName.tsx @@ -18,7 +18,7 @@ const ENSName: React.FC = ({ name, address }) => ( width={12} height={12} /> -

{name}

+ {name} ); diff --git a/src/components/ENSNameLink.tsx b/src/components/ENSNameLink.tsx index ae8f6f8..c1da646 100644 --- a/src/components/ENSNameLink.tsx +++ b/src/components/ENSNameLink.tsx @@ -27,7 +27,7 @@ const ENSNameLink: React.FC = ({ width={12} height={12} /> -

{name}

+ {name} ); diff --git a/src/transaction/Logs.tsx b/src/transaction/Logs.tsx index eda12be..d8cb868 100644 --- a/src/transaction/Logs.tsx +++ b/src/transaction/Logs.tsx @@ -1,6 +1,6 @@ import React from "react"; import ContentFrame from "../ContentFrame"; -import AddressLink from "../components/AddressLink"; +import AddressOrENSName from "../components/AddressOrENSName"; import { TransactionData } from "../types"; type LogsProps = { @@ -22,7 +22,7 @@ const Logs: React.FC = ({ txData }) => (
Address
- +
{l.topics.map((t, i) => (