From f144b0d0eef11670a24c61c56c4fcff05da922b3 Mon Sep 17 00:00:00 2001 From: donnyquixotic Date: Wed, 7 Feb 2024 20:53:16 -0600 Subject: [PATCH] fix: staking modal for zero liquid balance --- src/components/staking/StakingTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/staking/StakingTab.vue b/src/components/staking/StakingTab.vue index 354a93da..9417d5e9 100644 --- a/src/components/staking/StakingTab.vue +++ b/src/components/staking/StakingTab.vue @@ -29,7 +29,7 @@ export default defineComponent({ const rexbal = computed(() => store.state.account.rexbal); const maturedRex = computed(() => store.state.account.maturedRex); const liquidBalance = computed( - () => accountData.value?.core_liquid_balance.value, + () => accountData.value?.core_liquid_balance?.value ?? 0, ); const inputRules = computed((): Array<(data: string) => boolean | string> => [