mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
remove unused
This commit is contained in:
parent
7b28436abc
commit
98ab16bfa9
2 changed files with 1 additions and 14 deletions
|
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue