diff --git a/src/pages/earn/index.svelte b/src/pages/earn/index.svelte index ccdf0ac1..d909cfb8 100644 --- a/src/pages/earn/index.svelte +++ b/src/pages/earn/index.svelte @@ -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 () => {