From 728d8bf02d5d0fb30b12c8e0d0c7d52545ae1925 Mon Sep 17 00:00:00 2001 From: "Alisa | Side.one" Date: Fri, 5 May 2023 09:06:18 +0800 Subject: [PATCH] feat: staking tabs --- src/modules/[chain]/block/[height].vue | 1 - src/modules/[chain]/staking/index.vue | 329 ++++++++++++++----------- 2 files changed, 185 insertions(+), 145 deletions(-) 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 @@ - @@ -236,4 +277,4 @@ const rank = function(position: number) { i18n: 'staking' } } - \ No newline at end of file +