Fixed horrible loading pattern for calendar

This commit is contained in:
Alexis
2024-08-24 14:01:16 +02:00
parent 23e996ee2e
commit 19a71d356e
6 changed files with 46 additions and 27 deletions

View File

@@ -5,7 +5,7 @@ import type { World } from '~/models/World';
const route = useRoute()
const id = route.params.id
const { data: res, pending } = await useFetch(`/api/worlds/query`, { query: { id, full: true } })
const { data: res, pending } = await useFetch('/api/worlds/query', { query: { id, full: true } })
const world = res.value?.data as World