Fixed horrible loading pattern for calendar
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user