Skip to content

Commit

Permalink
chore: use template string for route path
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelae committed Nov 21, 2024
1 parent 80dc12e commit 84b90c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/hooks/bridge/useBridging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ const useBridging = () => {
);
} else {
history.push(
`${
CROSS_CHAIN_SWAP_ROUTE + PREPARE_SWAP_ROUTE
}?token=${token.address.toLowerCase()}`,
`${CROSS_CHAIN_SWAP_ROUTE}${PREPARE_SWAP_ROUTE}?token=${token.address.toLowerCase()}`,
);
}
} else {
Expand Down

0 comments on commit 84b90c0

Please sign in to comment.