Commit aa81d112 authored by tom's avatar tom

tweaks

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