Commit ce2b4b18 authored by tom's avatar tom

fix ts

parent 46af7ea9
export interface Tag { export interface AddressTag {
label: string;
display_name: string;
address_hash: string;
}
export interface WatchlistName {
label: string; label: string;
display_name: string; display_name: string;
} }
...@@ -8,7 +14,7 @@ export interface AddressParam { ...@@ -8,7 +14,7 @@ export interface AddressParam {
implementation_name: string; implementation_name: string;
name: string | null; name: string | null;
is_contract: boolean; is_contract: boolean;
private_tags: Array<Tag> | null; private_tags: Array<AddressTag> | null;
watchlist_names: Array<Tag> | null; watchlist_names: Array<WatchlistName> | null;
public_tags: Array<Tag> | null; public_tags: Array<AddressTag> | null;
} }
...@@ -35,7 +35,7 @@ const TxInternalsTable = ({ data, sort, onSortToggle }: Props) => { ...@@ -35,7 +35,7 @@ const TxInternalsTable = ({ data, sort, onSortToggle }: Props) => {
<Th width="16%" isNumeric> <Th width="16%" isNumeric>
<Link display="flex" alignItems="center" justifyContent="flex-end" onClick={ onSortToggle('gas-limit') } columnGap={ 1 }> <Link display="flex" alignItems="center" justifyContent="flex-end" onClick={ onSortToggle('gas-limit') } columnGap={ 1 }>
{ sort?.includes('gas-limit') && <Icon as={ arrowIcon } boxSize={ 4 } transform={ sortIconTransform }/> } { sort?.includes('gas-limit') && <Icon as={ arrowIcon } boxSize={ 4 } transform={ sortIconTransform }/> }
Gas limit { appConfig.network.currency } Gas limit { appConfig.network.currency.symbol }
</Link> </Link>
</Th> </Th>
</Tr> </Tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment