From bb76c59d534f7f4381d5157fbed1bcc922310a40 Mon Sep 17 00:00:00 2001 From: "Alex M. - Clockwork" Date: Wed, 2 Oct 2024 15:23:52 +0300 Subject: [PATCH 1/2] fix: Unavailable proposal error --- src/views/ProposalView.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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) => {