mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* rename feature * rename evn preset * types, mocks and stubs renaming * rename UI components
15 lines
505 B
TypeScript
15 lines
505 B
TypeScript
import React from 'react';
|
|
|
|
import multichainConfig from 'configs/multichain';
|
|
import type { Props } from 'ui/shared/externalChains/ChainSelect';
|
|
import ChainSelect from 'ui/shared/externalChains/ChainSelect';
|
|
|
|
const ChainSelectMultichain = (props: Omit<Props, 'chainsConfig'>) => {
|
|
const chainsConfig = React.useMemo(() => {
|
|
return multichainConfig()?.chains || [];
|
|
}, []);
|
|
return <ChainSelect chainsConfig={ chainsConfig } { ...props }/>;
|
|
};
|
|
|
|
export default React.memo(ChainSelectMultichain);
|