From aa10275ee0e53cc5bf15f2bccd0457f48d1b8fdd Mon Sep 17 00:00:00 2001 From: "Alisa | Side.one" Date: Tue, 16 May 2023 12:31:53 +0800 Subject: [PATCH] feat: contracts modal --- src/components/ProposalListItem.vue | 11 +- .../[chain]/cosmwasm/[code_id]/contracts.vue | 114 ++++++++++-------- 2 files changed, 75 insertions(+), 50 deletions(-) diff --git a/src/components/ProposalListItem.vue b/src/components/ProposalListItem.vue index 83dc5245..a10aaf73 100644 --- a/src/components/ProposalListItem.vue +++ b/src/components/ProposalListItem.vue @@ -4,6 +4,7 @@ import { select } from '@/components/dynamic/index'; import type { PaginatedProposals } from '@/types'; import ProposalProcess from './ProposalProcess.vue'; import type { PropType } from 'vue'; +import { ref } from 'vue'; defineProps({ proposals: { type: Object as PropType }, @@ -25,7 +26,7 @@ const statusMap: Record = { PROPOSAL_STATUS_REJECTED: 'REJECTED', }; -const proposalInfo = ref() +const proposalInfo = ref();