Revert "refactor: paginationの型を明示する (#12809)" (#12810)

This reverts commit 6855079811.
This commit is contained in:
GrapeApple0 2023-12-27 15:55:09 +09:00 committed by Marie
parent 08cd5ef8f5
commit 5e0eb76d3b
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
37 changed files with 93 additions and 93 deletions

View file

@ -63,7 +63,7 @@ import { computed, ref } from 'vue';
import XHeader from './_header_.vue';
import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkInstanceCardMini from '@/components/MkInstanceCardMini.vue';
import FormSplit from '@/components/form/split.vue';
import { i18n } from '@/i18n.js';
@ -90,7 +90,7 @@ const pagination = {
state.value === 'nsfw' ? { nsfw: true } :
{}),
})),
} satisfies Paging;
};
function getStatus(instance) {
if (instance.isSuspended) return 'Suspended';