summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/channels.vue
diff options
context:
space:
mode:
authorGrapeApple0 <84321396+GrapeApple0@users.noreply.github.com>2023-12-27 15:55:09 +0900
committerGitHub <noreply@github.com>2023-12-27 15:55:09 +0900
commit6439c7b64b31dc9fbc6c968ef020787f34ee8331 (patch)
tree7e057245a089e1ce841d8dbb4b30653c88dd0d8c /packages/frontend/src/pages/channels.vue
parent:art: (diff)
downloadmisskey-6439c7b64b31dc9fbc6c968ef020787f34ee8331.tar.gz
misskey-6439c7b64b31dc9fbc6c968ef020787f34ee8331.tar.bz2
misskey-6439c7b64b31dc9fbc6c968ef020787f34ee8331.zip
Revert "refactor: paginationの型を明示する (#12809)" (#12810)
This reverts commit 6855079811401be883167476726644e5730ea792.
Diffstat (limited to 'packages/frontend/src/pages/channels.vue')
-rw-r--r--packages/frontend/src/pages/channels.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/frontend/src/pages/channels.vue b/packages/frontend/src/pages/channels.vue
index 8bfae1a6e8..e58c89bb77 100644
--- a/packages/frontend/src/pages/channels.vue
+++ b/packages/frontend/src/pages/channels.vue
@@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed, onMounted, ref } from 'vue';
import MkChannelPreview from '@/components/MkChannelPreview.vue';
import MkChannelList from '@/components/MkChannelList.vue';
-import MkPagination, { Paging } from '@/components/MkPagination.vue';
+import MkPagination from '@/components/MkPagination.vue';
import MkInput from '@/components/MkInput.vue';
import MkRadios from '@/components/MkRadios.vue';
import MkButton from '@/components/MkButton.vue';
@@ -83,20 +83,20 @@ onMounted(() => {
const featuredPagination = {
endpoint: 'channels/featured' as const,
noPaging: true,
-} satisfies Paging;
+};
const favoritesPagination = {
endpoint: 'channels/my-favorites' as const,
limit: 100,
noPaging: true,
-} satisfies Paging;
+};
const followingPagination = {
endpoint: 'channels/followed' as const,
limit: 10,
-} satisfies Paging;
+};
const ownedPagination = {
endpoint: 'channels/owned' as const,
limit: 10,
-} satisfies Paging;
+};
async function search() {
const query = searchQuery.value.toString().trim();