bridge_ui: display correct chain on migration page
Change-Id: I0eb440026526e92f4864a0ea943233d3ec13f9e6
This commit is contained in:
parent
1fba2dc58a
commit
f8a81d80f8
|
@ -18,7 +18,7 @@ import { useEthereumProvider } from "../../contexts/EthereumProviderContext";
|
|||
import useEthereumMigratorInformation from "../../hooks/useEthereumMigratorInformation";
|
||||
import useIsWalletReady from "../../hooks/useIsWalletReady";
|
||||
import { COLORS } from "../../muiTheme";
|
||||
import { CHAINS, getMigrationAssetMap } from "../../utils/consts";
|
||||
import { CHAINS_BY_ID, getMigrationAssetMap } from "../../utils/consts";
|
||||
import ButtonWithLoader from "../ButtonWithLoader";
|
||||
import EthereumSignerKey from "../EthereumSignerKey";
|
||||
import ShowTx from "../ShowTx";
|
||||
|
@ -332,7 +332,7 @@ export default function EvmQuickMigrate({ chainId }: { chainId: ChainId }) {
|
|||
}, [isReady, signer, signerAddress, eligibleTokens, migrationMap]);
|
||||
|
||||
const hasEligibleAssets = migrators && migrators.length > 0;
|
||||
const chainName = CHAINS[chainId]?.name;
|
||||
const chainName = CHAINS_BY_ID[chainId]?.name;
|
||||
|
||||
const content = (
|
||||
<div className={classes.containerDiv}>
|
||||
|
|
Loading…
Reference in New Issue