Files
tom goriunovandGitHub 25a4c2a97e Replace OP Superchain feature with generic Multichain explorer (#3299)
* rename feature

* rename evn preset

* types, mocks and stubs renaming

* rename UI components
2026-02-25 18:02:52 +01:00

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);