Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
delivan committed Oct 14, 2024
1 parent 785abfa commit 798876c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ export const TokenFoundModal: FunctionComponent<{
const tokenScans = chainStore.tokenScans.slice();

for (const enable of enables) {
if (chainStore.hasChain(enable)) {
const modularChainInfo = chainStore.getModularChain(enable);
if ("cosmos" in modularChainInfo) {
if (
keyRingStore.needKeyCoinTypeFinalize(
keyRingStore.selectedKeyInfo.id,
Expand Down Expand Up @@ -115,7 +116,7 @@ export const TokenFoundModal: FunctionComponent<{
);
}
}
} else {
} else if ("starknet" in modularChainInfo) {
const tokenScan = tokenScans.find((tokenScan) => {
return ChainIdHelper.parse(tokenScan.chainId).identifier === enable;
});
Expand Down

0 comments on commit 798876c

Please sign in to comment.