Undo inversion

This commit is contained in:
jordankzf
2025-01-21 17:09:59 +08:00
parent 691f1cb3b0
commit f16ace2f6e

View File

@@ -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(