Skip to content

Commit

Permalink
fix: staking modal for zero liquid balance
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic committed Feb 8, 2024
1 parent 8206c53 commit f144b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/staking/StakingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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> => [
Expand Down

0 comments on commit f144b0d

Please sign in to comment.