Skip to content

Commit

Permalink
updated mainnet config
Browse files Browse the repository at this point in the history
fixes after review
  • Loading branch information
radumojic committed Aug 26, 2024
1 parent 1b968be commit 060810b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/components/CustomNetwork/CustomNetworkDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className='d-flex flex-wrap align-items-center gap-1'>
<div>{title}:</div>
Expand Down
7 changes: 6 additions & 1 deletion src/config/config.mainnet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { NetworkType } from 'types/network.types';

import { getStorageCustomNetworks } from './helpers';
import { allApps, schema } from './sharedConfig';
export * from './sharedConfig';

Expand All @@ -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();
Expand Down

0 comments on commit 060810b

Please sign in to comment.