Skip to content

Commit

Permalink
fix(bridge-ui): fix issue where balance is shown for wrong token (#16541
Browse files Browse the repository at this point in the history
)

Co-authored-by: Korbinian <KorbinianK@users.noreply.github.com>
  • Loading branch information
SihanoukSolver29 and KorbinianK authored Mar 30, 2024
1 parent 5af3c48 commit 1dd47cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import { getMaxAmountToBridge } from '$libs/bridge';
import { UnknownTokenTypeError } from '$libs/error';
import { fetchBalance, tokens, TokenType } from '$libs/token';
import { ETHToken } from '$libs/token';
import { refreshUserBalance, renderBalance } from '$libs/util/balance';
import { debounce } from '$libs/util/debounce';
import { getLogger } from '$libs/util/logger';
Expand Down Expand Up @@ -153,6 +154,7 @@
};
const reset = async () => {
$selectedToken = ETHToken;
$computingBalance = true;
value = '';
$enteredAmount = 0n;
Expand Down

0 comments on commit 1dd47cf

Please sign in to comment.