Skip to content

Commit

Permalink
chore: fix vm chain overrides evm chain
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jan 10, 2025
1 parent 973c25d commit f8d1aa6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ export function useSendInterchainTokenState(props: {

const combinedComputed = useMemo(() => ({
indexedById: {
...evmComputed.indexedById,
...vmComputed.indexedById,
...evmComputed.indexedById,
},
indexedByChainId: {
...evmComputed.indexedByChainId,
...vmComputed.indexedByChainId,
...evmComputed.indexedByChainId,
}
}), [evmComputed, vmComputed]);

Expand Down
4 changes: 2 additions & 2 deletions apps/maestro/src/services/gmp/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export function useInterchainTokensQuery(input: {

const combinedComputed = useMemo(() => ({
indexedById: {
...evmComputed.indexedById,
...vmComputed.indexedById,
...evmComputed.indexedById,
},
indexedByChainId: {
...evmComputed.indexedByChainId,
...vmComputed.indexedByChainId,
...evmComputed.indexedByChainId,
},
wagmiChains: evmComputed.wagmiChains, // Keep wagmiChains for EVM compatibility
}), [evmComputed, vmComputed]);
Expand Down

0 comments on commit f8d1aa6

Please sign in to comment.