Skip to content

Commit

Permalink
Reset balance-all after disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed May 24, 2024
1 parent 5e456d2 commit dba41b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/xtoken-ui/src/hooks/use-balance-all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export function useBalanceAll() {
});
} else {
balanceAllRef.current = [];
setBalanceAll([]);
setLoading(false);
}
}, [address]);
Expand Down

0 comments on commit dba41b8

Please sign in to comment.