Improve talents and lint code

This commit is contained in:
2023-09-04 00:03:30 +02:00
parent a0e4b53b17
commit 774ccf75fb
5 changed files with 51 additions and 38 deletions

View File

@@ -7,6 +7,7 @@ export async function useTalents() {
const {
data: talents,
refresh: refreshTalents,
pending,
} = await useAsyncData('talents:talents', async () => await $trpc.talents.getTalents.query({ favorite: isFavorite.value, category: getCategory.value }))
async function switchCategory(category: string) {
@@ -29,5 +30,6 @@ export async function useTalents() {
isFavorite,
switchCategory,
toggleFavorite,
pending,
}
}