diff --git a/src/modules/[chain]/block/[height].vue b/src/modules/[chain]/block/[height].vue index eac2db23..d15c3d7a 100644 --- a/src/modules/[chain]/block/[height].vue +++ b/src/modules/[chain]/block/[height].vue @@ -6,7 +6,6 @@ import { computed } from '@vue/reactivity'; import { onBeforeRouteUpdate } from 'vue-router'; const props = defineProps(['height', 'chain']); -const store = useBlockModule() const store = useBlockModule(); store.fetchBlock(props.height); const tab = ref('summary'); diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue index 1f1177dc..2aa42c88 100644 --- a/src/modules/[chain]/staking/index.vue +++ b/src/modules/[chain]/staking/index.vue @@ -1,36 +1,36 @@ - - - - - - Active - Inactive - - {{ list.length }}/{{ staking.params.max_validators }} - - - + + + Active + Inactive + + + + {{ list.length }}/{{ staking.params.max_validators }} + + + + + + - # - - VALIDATOR - - - VOTING POWER - - - 24h CHANGES - - - COMMISSION - - - ACTIONS - + # + VALIDATOR + VOTING POWER + 24h CHANGES + COMMISSION + ACTIONS - + @@ -175,7 +186,10 @@ const rank = function(position: number) { - + {{ v.description?.moniker }} - - {{ v.description?.website || v.description?.identity || '-' }} + {{ + v.description?.website || v.description?.identity || '-' + }} - - - {{ format.formatToken( {amount: parseInt(v.tokens).toString(), denom: staking.params.bond_denom }, true, "0,0") }} - - {{ format.calculatePercent(v.delegator_shares, staking.totalPower) }} - + + + {{ + format.formatToken( + { + amount: parseInt(v.tokens).toString(), + denom: staking.params.bond_denom, + }, + true, + '0,0' + ) + }} + + {{ + format.calculatePercent( + v.delegator_shares, + staking.totalPower + ) + }} + - - {{ change24Text(v.consensus_pubkey) }} Jailed + + {{ change24Text(v.consensus_pubkey) }} + Jailed - - {{ format.formatCommissionRate(v.commission?.commission_rates?.rate) }} + + {{ + format.formatCommissionRate( + v.commission?.commission_rates?.rate + ) + }} {{ 2 }} - + - - - - Top 33% Top 67% - - - + + + + Top 33% + Top 67% + + + @@ -236,4 +277,4 @@ const rank = function(position: number) { i18n: 'staking' } } - \ No newline at end of file +