Commit 8f822b33 authored by tom goriunov's avatar tom goriunov Committed by GitHub

Cleaning up BENS representation (#1546)

Fixes #1531
parent 5d908544
...@@ -61,7 +61,7 @@ export default function useNavItems(): ReturnType { ...@@ -61,7 +61,7 @@ export default function useNavItems(): ReturnType {
isActive: pathname === '/verified-contracts', isActive: pathname === '/verified-contracts',
}; };
const ensLookup = config.features.nameService.isEnabled ? { const ensLookup = config.features.nameService.isEnabled ? {
text: 'ENS lookup', text: 'Name services lookup',
nextRoute: { pathname: '/name-domains' as const }, nextRoute: { pathname: '/name-domains' as const },
icon: 'ENS', icon: 'ENS',
isActive: pathname === '/name-domains' || pathname === '/name-domains/[name]', isActive: pathname === '/name-domains' || pathname === '/name-domains/[name]',
......
...@@ -95,7 +95,7 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => { ...@@ -95,7 +95,7 @@ const AddressEnsDomains = ({ addressHash, mainDomainName }: Props) => {
variant="outline" variant="outline"
colorScheme="gray" colorScheme="gray"
onClick={ onToggle } onClick={ onToggle }
aria-label="Address ENS domains" aria-label="Address domains"
fontWeight={ 500 } fontWeight={ 500 }
px={ 2 } px={ 2 }
h="32px" h="32px"
......
...@@ -80,7 +80,7 @@ const NameDomain = () => { ...@@ -80,7 +80,7 @@ const NameDomain = () => {
return ( return (
<> <>
<TextAd mb={ 6 }/> <TextAd mb={ 6 }/>
<PageTitle title="ENS Domain details" secondRow={ titleSecondRow }/> <PageTitle title="Name details" secondRow={ titleSecondRow }/>
{ infoQuery.isPlaceholderData ? ( { infoQuery.isPlaceholderData ? (
<> <>
<TabsSkeleton tabs={ tabs } mt={ 6 }/> <TabsSkeleton tabs={ tabs } mt={ 6 }/>
......
...@@ -193,7 +193,7 @@ const NameDomains = () => { ...@@ -193,7 +193,7 @@ const NameDomains = () => {
return ( return (
<> <>
<PageTitle title="ENS domains lookup" withTextAd/> <PageTitle title="Name services lookup" withTextAd/>
<DataListDisplay <DataListDisplay
isError={ isError } isError={ isError }
items={ data?.items } items={ data?.items }
......
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