diff --git a/src/views/ProposalView.vue b/src/views/ProposalView.vue index d39f500..532b6e8 100644 --- a/src/views/ProposalView.vue +++ b/src/views/ProposalView.vue @@ -11,7 +11,7 @@ const { getProposal, getBlockHeightAsync } = useChainData(); const route = useRoute(); const proposal = getProposal(parseInt(route.params.id as string)); -const height = ref(null); +const height = ref(0); watch(proposal, async (newProp, _oldProp) => { if ( @@ -45,11 +45,8 @@ watch(proposal, async (newProp, _oldProp) => {