Skip to content

Commit

Permalink
Use one line
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangDrescher committed Jun 19, 2023
1 parent b83a4a9 commit 556b6a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/tricinium/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ useHead({
],
});
const { data: triciniaData } = await useAsyncData(`/api/tricinium`, () => {
return $fetch(`/api/tricinium`);
});
const { data: triciniaData } = await useAsyncData(`/api/tricinium`, () => $fetch(`/api/tricinium`));
const tricinia = useTricinium(triciniaData.value);
const { data: cadenceData } = await useAsyncData(`cadences-${tricinium.id}`, () => queryContent('/cadences').where({ triciniumId: tricinium.id }).find())
Expand Down

0 comments on commit 556b6a3

Please sign in to comment.