From 16ea99e8783e28440857209bd4902cf7922737dd Mon Sep 17 00:00:00 2001 From: guanbinrui Date: Sat, 26 Mar 2022 01:47:10 +0800 Subject: [PATCH] fix: ito entrance --- packages/mask/src/components/shared/ApplicationBoard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mask/src/components/shared/ApplicationBoard.tsx b/packages/mask/src/components/shared/ApplicationBoard.tsx index d1bcd990e35b..6df629f5fb51 100644 --- a/packages/mask/src/components/shared/ApplicationBoard.tsx +++ b/packages/mask/src/components/shared/ApplicationBoard.tsx @@ -234,7 +234,7 @@ export function ApplicationBoard({ secondEntries, secondEntryChainTabs }: MaskAp // Todo: remove this after refactor applicationBoard const isITOSupportedChain = - ITO_Definition.enableRequirement.web3![NetworkPluginID.PLUGIN_EVM]?.supportedChainIds?.includes(currentChainId) + ITO_Definition.enableRequirement.web3![currentPluginId]?.supportedChainIds?.includes(currentChainId) const firstLevelEntries: MaskAppEntry[] = [ createEntry(