Skip to content

Commit

Permalink
fix: Earn module withdrawable value error when switch account (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttwishing committed Aug 29, 2024
1 parent 833a22b commit edfa1d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/earn/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@
})
if (result.rows.length > 0) {
rexEOSBalance.set(Asset.from(result.rows[0].balance, $systemToken!.symbol))
} else {
rexEOSBalance.set(Asset.from(0, $systemToken!.symbol))
}
})
return () => {
Expand Down

0 comments on commit edfa1d8

Please sign in to comment.