mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* fix links in approvals list * pass check-summed hash to safe API call * make tx hash optional for token transfers * fix multiple public tag submission * update screenshots * use DataListDisplay for revoke * force to send credential only with general API requests * prefer formatted date label over date default formatting when saving chart data as csv * add abort failed status for zeta chain CCTX * update specify sdk * rename ENV for native token address * add ENV to hide native coin price in topbar * rename routes for name services * fix chart csv export file * fix tests --------- Co-authored-by: Max Alekseenko <[email protected]> Co-authored-by: isstuev <[email protected]>
31 lines
1021 B
TypeScript
31 lines
1021 B
TypeScript
import React from 'react';
|
|
|
|
import type { TabItemRegular } from 'toolkit/components/AdaptiveTabs/types';
|
|
|
|
import config from 'configs/app';
|
|
import RoutedTabs from 'toolkit/components/RoutedTabs/RoutedTabs';
|
|
import Clusters from 'ui/nameServices/directories/Clusters';
|
|
import NameDomains from 'ui/nameServices/domains/NameDomains';
|
|
import PageTitle from 'ui/shared/Page/PageTitle';
|
|
|
|
const feature = config.features.nameServices;
|
|
|
|
const NameServices = () => {
|
|
const tabs: Array<TabItemRegular> = [
|
|
feature.isEnabled && feature.ens.isEnabled && { id: 'domains', title: 'Domains', component: <NameDomains/> },
|
|
feature.isEnabled && feature.clusters.isEnabled && { id: 'directories', title: 'Directories', component: <Clusters/> },
|
|
].filter(Boolean);
|
|
|
|
return (
|
|
<>
|
|
<PageTitle
|
|
title={ config.meta.seo.enhancedDataEnabled ? `${ config.chain.name } name services` : 'Name services lookup' }
|
|
withTextAd
|
|
/>
|
|
<RoutedTabs tabs={ tabs }/>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default NameServices;
|