Skip to content

Commit f3f29b3

Browse files
committed
Allow chain deletion even when the chainIdentifier is nested
1 parent b0c8416 commit f3f29b3

File tree

1 file changed

+2
-3
lines changed
  • apps/extension/src/pages/setting/advanced/delete-suggest-chain

1 file changed

+2
-3
lines changed

apps/extension/src/pages/setting/advanced/delete-suggest-chain/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ export const SettingGeneralDeleteSuggestChainPage: FunctionComponent = observer(
4949
key={chainInfo.chainIdentifier}
5050
chainInfo={chainInfo}
5151
onClickClose={async () => {
52-
await chainStore.removeChainInfo(
53-
chainInfo.chainIdentifier
54-
);
52+
// 여기서 chain identifier를 쓰면 안되고 꼭 chainId를 써야함
53+
await chainStore.removeChainInfo(chainInfo.chainId);
5554

5655
dispatchGlobalEventExceptSelf(
5756
"keplr_suggested_chain_removed"

0 commit comments

Comments
 (0)