Skip to content

Commit 2917fb1

Browse files
committed
minor fix
1 parent 82a46e5 commit 2917fb1

File tree

1 file changed

+5
-6
lines changed
  • apps/extension/src/pages/ibc-swap/components/swap-asset-info

1 file changed

+5
-6
lines changed

apps/extension/src/pages/ibc-swap/components/swap-asset-info/index.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,12 +785,11 @@ const SelectDestinationChainModal: FunctionComponent<{
785785
const channels: {
786786
chainId: string;
787787
denom: string;
788-
}[] = swapQueriesStore.queryRelatedAssets
789-
.getObservableQueryRelatedAssets(
790-
amountConfig.outChainId,
791-
amountConfig.outCurrency.coinMinimalDenom
792-
)
793-
.currencies.map((c) => ({ chainId: c.chainId, denom: c.coinMinimalDenom }));
788+
}[] =
789+
swapQueriesStore.querySwapHelper.getSwapDestinationCurrencyAlternativeChains(
790+
chainStore.getChain(amountConfig.outChainId),
791+
amountConfig.outCurrency
792+
);
794793

795794
const filteredChannels = (() => {
796795
const trim = search.trim().toLowerCase();

0 commit comments

Comments
 (0)