diff --git a/src/components/TokenName.tsx b/src/components/TokenName.tsx index 0553d4a..5c3e91b 100644 --- a/src/components/TokenName.tsx +++ b/src/components/TokenName.tsx @@ -5,17 +5,17 @@ import { ResolvedAddressRenderer } from "../api/address-resolver/address-resolve import { TokenMeta } from "../types"; type TokenNameProps = { + address: string; name: string; symbol: string; - address: string; linkable: boolean; dontOverrideColors?: boolean; }; const TokenName: React.FC = ({ + address, name, symbol, - address, linkable, dontOverrideColors, }) => { @@ -50,19 +50,21 @@ const TokenName: React.FC = ({ type ContentProps = { address: string; - linkable: boolean; name: string; symbol: string; + linkable: boolean; }; const Content: React.FC = ({ address, - linkable, name, symbol, + linkable, }) => ( <> -
+
@@ -73,14 +75,14 @@ const Content: React.FC = ({ export const tokenRenderer: ResolvedAddressRenderer = ( address, - resolvedAddress, + tokenMeta, linkable, dontOverrideColors ) => (