diff --git a/components.d.ts b/components.d.ts index 5d8b4d23..b15a849f 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,7 +7,6 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { - AddAuthenticatorAppDialog: typeof import('./src/plugins/vuetify/@core/components/AddAuthenticatorAppDialog.vue')['default'] AddEditAddressDialog: typeof import('./src/plugins/vuetify/@core/components/AddEditAddressDialog.vue')['default'] AppBarSearch: typeof import('./src/plugins/vuetify/@core/components/AppBarSearch.vue')['default'] AppCardActions: typeof import('./src/plugins/vuetify/@core/components/AppCardActions.vue')['default'] @@ -43,7 +42,6 @@ declare module '@vue/runtime-core' { Shortcuts: typeof import('./src/plugins/vuetify/@core/components/Shortcuts.vue')['default'] TheCustomizer: typeof import('./src/plugins/vuetify/@core/components/TheCustomizer.vue')['default'] ThemeSwitcher: typeof import('./src/plugins/vuetify/@core/components/ThemeSwitcher.vue')['default'] - TwoFactorAuthDialog: typeof import('./src/plugins/vuetify/@core/components/TwoFactorAuthDialog.vue')['default'] UserInfoEditDialog: typeof import('./src/plugins/vuetify/@core/components/UserInfoEditDialog.vue')['default'] UserUpgradePlanDialog: typeof import('./src/plugins/vuetify/@core/components/UserUpgradePlanDialog.vue')['default'] } diff --git a/src/components/PaginationBar.vue b/src/components/PaginationBar.vue index 55ca352b..9e4a6096 100644 --- a/src/components/PaginationBar.vue +++ b/src/components/PaginationBar.vue @@ -1,7 +1,4 @@ diff --git a/src/components/ValidatorCommissionRate.vue b/src/components/ValidatorCommissionRate.vue index 9abbf339..2d93a0d3 100644 --- a/src/components/ValidatorCommissionRate.vue +++ b/src/components/ValidatorCommissionRate.vue @@ -1,162 +1,143 @@ diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue index f5df5ca9..ea81220b 100644 --- a/src/modules/[chain]/block/index.vue +++ b/src/modules/[chain]/block/index.vue @@ -10,93 +10,82 @@ const base = useBaseStore() const format = useFormatter(); const list = computed(() => { - // const recents = base.recents - // return recents.sort((a, b) => (Number(b.block.header.height) - Number(a.block.header.height))) - return base.recents + // const recents = base.recents + // return recents.sort((a, b) => (Number(b.block.header.height) - Number(a.block.header.height))) + return base.recents }) diff --git a/src/modules/[chain]/gov/index.vue b/src/modules/[chain]/gov/index.vue index 49e77eb3..6c977120 100644 --- a/src/modules/[chain]/gov/index.vue +++ b/src/modules/[chain]/gov/index.vue @@ -10,51 +10,37 @@ const store = useGovStore(); const pageRequest = ref(new PageRequest()) onMounted(() => { - store.fetchProposals('2').then((x) => { - if (x?.proposals?.length === 0) { - tab.value = '3'; - store.fetchProposals('3'); - } - store.fetchProposals('3'); - store.fetchProposals('4'); - }); + store.fetchProposals('2').then((x) => { + if (x?.proposals?.length === 0) { + tab.value = '3'; + store.fetchProposals('3'); + } + store.fetchProposals('3'); + store.fetchProposals('4'); + }); }); const changeTab = (val: '2' | '3' | '4') => { - tab.value = val; + tab.value = val; }; function page(p: number) { - pageRequest.value.setPage(p) - store.fetchProposals(tab.value, pageRequest.value) + pageRequest.value.setPage(p) + store.fetchProposals(tab.value, pageRequest.value) } { diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue index ff35ed95..c394b70f 100644 --- a/src/modules/[chain]/index.vue +++ b/src/modules/[chain]/index.vue @@ -9,7 +9,7 @@ import { useTxDialog, useWalletStore, useStakingStore, -useParamStore, + useParamStore, } from '@/stores'; import { onMounted, ref } from 'vue'; import { useIndexModule } from './indexStore'; @@ -99,10 +99,7 @@ const color = computed(() => { diff --git a/src/modules/[chain]/uptime/customize.vue b/src/modules/[chain]/uptime/customize.vue index 0143072f..3f81c3cb 100644 --- a/src/modules/[chain]/uptime/customize.vue +++ b/src/modules/[chain]/uptime/customize.vue @@ -124,7 +124,7 @@ function color(v: string) {