Skip to content

Commit

Permalink
chore: reference from chain in filter
Browse files Browse the repository at this point in the history
Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris committed Jan 29, 2025
1 parent 07c863c commit 3153865
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Bridge/hooks/useSelectRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,10 @@ export function useSelectRoute() {

// Try to find route with exact match first
let route = externalProjectId
? findNextBestRoute(["toChain", "externalProjectId"], {
? findNextBestRoute(["fromChain", "toChain", "externalProjectId"], {
toChain: toChainId,
externalProjectId,
fromChain: selectedRoute.fromChain,
})
: findNextBestRoute(
[
Expand Down

0 comments on commit 3153865

Please sign in to comment.