diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 13:20:11 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 13:20:11 +0900 |
| commit | cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e (patch) | |
| tree | 665f874634c4afcec54502e0d2c1fa4b0ca8f5ad /packages/frontend/src/components/MkChannelList.stories.impl.ts | |
| parent | build-misskey-js-with-types (#16471) (diff) | |
| download | misskey-cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e.tar.gz misskey-cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e.tar.bz2 misskey-cfd4d7c57b565fc5c592f0a03079c4a7527d4f7e.zip | |
refactor
Diffstat (limited to 'packages/frontend/src/components/MkChannelList.stories.impl.ts')
| -rw-r--r-- | packages/frontend/src/components/MkChannelList.stories.impl.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/frontend/src/components/MkChannelList.stories.impl.ts b/packages/frontend/src/components/MkChannelList.stories.impl.ts index 867526ea5e..33a61c8f7a 100644 --- a/packages/frontend/src/components/MkChannelList.stories.impl.ts +++ b/packages/frontend/src/components/MkChannelList.stories.impl.ts @@ -3,14 +3,13 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -/* eslint-disable @typescript-eslint/explicit-function-return-type */ -/* eslint-disable import/no-default-export */ -import type { StoryObj } from '@storybook/vue3'; import { HttpResponse, http } from 'msw'; import { action } from 'storybook/actions'; import { channel } from '../../.storybook/fakes.js'; import { commonHandlers } from '../../.storybook/mocks.js'; import MkChannelList from './MkChannelList.vue'; +import type { StoryObj } from '@storybook/vue3'; +import { Paginator } from '@/utility/paginator.js'; export const Default = { render(args) { return { @@ -33,10 +32,7 @@ export const Default = { }; }, args: { - pagination: { - endpoint: 'channels/search', - limit: 10, - }, + paginator: new Paginator('channels/search', {}), }, parameters: { chromatic: { |