style: fix linting issues met Prettier
This commit is contained in:
parent
87366b2821
commit
899af4dec5
20 changed files with 117 additions and 118 deletions
|
@ -1,7 +1,7 @@
|
|||
import {useQuery, type UseQueryReturnType} from "@tanstack/vue-query";
|
||||
import { useQuery, type UseQueryReturnType } from "@tanstack/vue-query";
|
||||
import { type MaybeRefOrGetter, toValue } from "vue";
|
||||
import { ThemeController } from "@/controllers/themes.ts";
|
||||
import type {Theme} from "dwengo-1-common/src/interfaces/theme";
|
||||
import type { Theme } from "dwengo-1-common/src/interfaces/theme";
|
||||
|
||||
const themeController = new ThemeController();
|
||||
|
||||
|
@ -16,7 +16,9 @@ export function useThemeQuery(language: MaybeRefOrGetter<string | undefined>): U
|
|||
});
|
||||
}
|
||||
|
||||
export function useThemeHruidsQuery(themeKey: MaybeRefOrGetter<string | undefined>): UseQueryReturnType<string[], Error> {
|
||||
export function useThemeHruidsQuery(
|
||||
themeKey: MaybeRefOrGetter<string | undefined>,
|
||||
): UseQueryReturnType<string[], Error> {
|
||||
return useQuery({
|
||||
queryKey: ["theme-hruids", themeKey],
|
||||
queryFn: async () => themeController.getHruidsByKey(toValue(themeKey)!),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue