Skip to content

Commit

Permalink
fix: refund files for non RBTC pairs in mobile EVM browsers (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Dec 17, 2024
1 parent 54612c2 commit d22238c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CreateButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ export const CreateButton = () => {
isRecklessMode() ||
swapType() === SwapType.Reverse ||
assetSend() === RBTC ||
isMobileEvmBrowser()
// Only disable refund files on mobile EVM browsers when one side is RSK
(assetReceive() === RBTC && isMobileEvmBrowser())
) {
navigate("/swap/" + data.id);
} else {
Expand Down

0 comments on commit d22238c

Please sign in to comment.