forked from cerc-io/cosmos-explorer
improve UI
This commit is contained in:
parent
f23cb8b440
commit
bd841633b1
@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { ref, onMounted, computed, watchEffect } from 'vue';
|
||||
import { ref, onMounted, computed, onUnmounted } from 'vue';
|
||||
import { fromHex, toBase64 } from '@cosmjs/encoding';
|
||||
import {
|
||||
useFormatter,
|
||||
|
@ -75,8 +75,8 @@ export const useGovStore = defineStore('govStore', {
|
||||
async fetchProposalDeposits(proposalId: string) {
|
||||
return this.blockchain.rpc.getGovProposalDeposits(proposalId);
|
||||
},
|
||||
async fetchProposalVotes(proposalId: string, next_key?: string) {
|
||||
return this.blockchain.rpc.getGovProposalVotes(proposalId, next_key);
|
||||
async fetchProposalVotes(proposalId: string, page?: PageRequest) {
|
||||
return this.blockchain.rpc.getGovProposalVotes(proposalId, page);
|
||||
},
|
||||
async fetchProposalVotesVoter(proposalId: string, voter: string) {
|
||||
return this.blockchain.rpc.getGovProposalVotesVoter(proposalId, voter);
|
||||
|
Loading…
Reference in New Issue
Block a user