summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/flash
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/flash
parent:art: (diff)
downloadsharkey-6439c7b64b31dc9fbc6c968ef020787f34ee8331.tar.gz
sharkey-6439c7b64b31dc9fbc6c968ef020787f34ee8331.tar.bz2
sharkey-6439c7b64b31dc9fbc6c968ef020787f34ee8331.zip
Revert "refactor: paginationの型を明示する (#12809)" (#12810)
This reverts commit 6855079811401be883167476726644e5730ea792.
Diffstat (limited to 'packages/frontend/src/pages/flash')
-rw-r--r--packages/frontend/src/pages/flash/flash-index.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/pages/flash/flash-index.vue b/packages/frontend/src/pages/flash/flash-index.vue
index 3ba0d56887..e0b9f87d46 100644
--- a/packages/frontend/src/pages/flash/flash-index.vue
+++ b/packages/frontend/src/pages/flash/flash-index.vue
@@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup>
import { computed, ref } from 'vue';
import MkFlashPreview from '@/components/MkFlashPreview.vue';
-import MkPagination, { Paging } from '@/components/MkPagination.vue';
+import MkPagination from '@/components/MkPagination.vue';
import MkButton from '@/components/MkButton.vue';
import { useRouter } from '@/router.js';
import { i18n } from '@/i18n.js';
@@ -53,15 +53,15 @@ const tab = ref('featured');
const featuredFlashsPagination = {
endpoint: 'flash/featured' as const,
noPaging: true,
-} satisfies Paging;
+};
const myFlashsPagination = {
endpoint: 'flash/my' as const,
limit: 5,
-} satisfies Paging;
+};
const likedFlashsPagination = {
endpoint: 'flash/my-likes' as const,
limit: 5,
-} satisfies Paging;
+};
function create() {
router.push('/play/new');