Commit f24e2658 authored by tom's avatar tom

make new feature optional

parent 403f79c0
...@@ -101,7 +101,7 @@ The app instance could be customized by passing following variables to NodeJS en ...@@ -101,7 +101,7 @@ The app instance could be customized by passing following variables to NodeJS en
| NEXT_PUBLIC_API_BASE_PATH | `string` *(optional)* | Base path for API endpoint url | `/poa/core` | | NEXT_PUBLIC_API_BASE_PATH | `string` *(optional)* | Base path for API endpoint url | `/poa/core` |
| NEXT_PUBLIC_STATS_API_HOST | `string` | Pass the Stats API host in this variable | `https://my-host.com` | | NEXT_PUBLIC_STATS_API_HOST | `string` | Pass the Stats API host in this variable | `https://my-host.com` |
| NEXT_PUBLIC_VISUALIZE_API_HOST | `string` | Pass the Visualize API host in this variable | `https://my-host.com` | | NEXT_PUBLIC_VISUALIZE_API_HOST | `string` | Pass the Visualize API host in this variable | `https://my-host.com` |
| NEXT_PUBLIC_CONTRACT_INFO_API_HOST | `string` | Pass the Contract Info API host in this variable | `https://my-host.com` | | NEXT_PUBLIC_CONTRACT_INFO_API_HOST | `string` *(optional)* | Pass the Contract Info API host in this variable if token info submission feature should be available in the app | `https://my-host.com` |
### Featured network configuration properties ### Featured network configuration properties
......
...@@ -223,14 +223,14 @@ export default function useNavItems(): ReturnType { ...@@ -223,14 +223,14 @@ export default function useNavItems(): ReturnType {
isActive: pathname === '/account/custom_abi', isActive: pathname === '/account/custom_abi',
isNewUi: true, isNewUi: true,
}, },
{ appConfig.contractInfoApi.endpoint && {
text: 'Verified addresses', text: 'Verified addresses',
nextRoute: { pathname: '/account/verified_addresses' as const }, nextRoute: { pathname: '/account/verified_addresses' as const },
icon: verifiedIcon, icon: verifiedIcon,
isActive: pathname === '/account/verified_addresses', isActive: pathname === '/account/verified_addresses',
isNewUi: true, isNewUi: true,
}, },
]; ].filter(Boolean);
const profileItem = { const profileItem = {
text: 'My profile', text: 'My profile',
......
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