remove unused

This commit is contained in:
Gauthier Roebroeck 2026-02-25 17:35:21 +08:00
parent 7b28436abc
commit 98ab16bfa9
2 changed files with 1 additions and 14 deletions

View file

@ -63,16 +63,3 @@ export const authorsQuery = defineQueryOptions(
}
},
)
export const authorRolesQuery = defineQueryOptions(() => {
return {
key: ['authors', 'roles'],
query: () =>
komgaClient
.GET('/api/v1/authors/roles')
// unwrap the openapi-fetch structure on success
.then((res) => res.data),
placeholderData: (previousData: any) => previousData, // eslint-disable-line @typescript-eslint/no-explicit-any
staleTime: 60 * 60 * 1000, // 1 hour
}
})

View file

@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/vue3-vite'
import ExpansionPanel from './ExpansionPanel.vue'
import { VExpansionPanels } from 'vuetify/components'
import { expect, fn, waitFor } from 'storybook/test'
import { expect, fn } from 'storybook/test'
const meta = {
component: ExpansionPanel,