mirror of
https://github.com/zhigang1992/xverse-web-extension.git
synced 2026-01-12 09:43:44 +08:00
Undo inversion
This commit is contained in:
@@ -220,8 +220,8 @@ export default function SwapScreen() {
|
||||
const newFrom = toToken;
|
||||
const newTo = fromToken;
|
||||
|
||||
setToToken(newTo);
|
||||
setFromToken(newFrom);
|
||||
setToToken(newTo);
|
||||
|
||||
if (newFrom?.principal !== 'BTC') {
|
||||
const matchingToken = fromTokens.find(
|
||||
|
||||
Reference in New Issue
Block a user