diff --git a/src/components/CustomNetwork/CustomNetworkDetails.tsx b/src/components/CustomNetwork/CustomNetworkDetails.tsx index 6ceb3a21..2e808e47 100644 --- a/src/components/CustomNetwork/CustomNetworkDetails.tsx +++ b/src/components/CustomNetwork/CustomNetworkDetails.tsx @@ -13,13 +13,12 @@ import { faTrash, faCheck } from 'icons/regular'; import { activeNetworkSelector } from 'redux/selectors'; import { WithClassnameType } from 'types'; -const NetworkDetail = ({ - title, - description -}: { +export interface NetworkDetailUIType { title: string; description: React.ReactNode; -}) => { +} + +const NetworkDetail = ({ title, description }: NetworkDetailUIType) => { return (
{title}:
diff --git a/src/config/config.mainnet.ts b/src/config/config.mainnet.ts index a689a950..5ee63208 100644 --- a/src/config/config.mainnet.ts +++ b/src/config/config.mainnet.ts @@ -1,4 +1,6 @@ import { NetworkType } from 'types/network.types'; + +import { getStorageCustomNetworks } from './helpers'; import { allApps, schema } from './sharedConfig'; export * from './sharedConfig'; @@ -16,7 +18,10 @@ export const networks: NetworkType[] = [ nftExplorerAddress: 'https://xspotlight.com', apiAddress: 'https://api.multiversx.com', growthApi: 'https://tools.multiversx.com/growth-api' - } + }, + + // Saved Custom Network Configs + ...getStorageCustomNetworks() ]; export const multiversxApps = allApps();