Commit aa81d112 authored by tom's avatar tom

tweaks

parent 327d92c1
......@@ -104,7 +104,7 @@ const TokenPageContent = () => {
(tokenQuery.data?.type === 'ERC-1155' || tokenQuery.data?.type === 'ERC-721') ?
{ id: 'inventory', title: 'Inventory', component: <TokenInventory inventoryQuery={ inventoryQuery }/> } :
undefined,
{
contractQuery.data?.is_contract ? {
id: 'contract',
title: () => {
if (contractQuery.data?.is_verified) {
......@@ -120,7 +120,7 @@ const TokenPageContent = () => {
},
component: <AddressContract tabs={ contractTabs } addressHash={ hashString }/>,
subTabs: contractTabs.map(tab => tab.id),
},
} : undefined,
].filter(Boolean);
let hasPagination;
......
......@@ -149,7 +149,7 @@ const TokenDetails = ({ tokenQuery }: Props) => {
</Skeleton>
</DetailsInfoItem>
) }
<DetailsSponsoredItem isLoading={ tokenCountersQuery.isPlaceholderData }/>
<DetailsSponsoredItem isLoading={ tokenQuery.isPlaceholderData }/>
</Grid>
);
};
......
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