We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
suspense()
1 parent a97fb6c commit 86e5182Copy full SHA for 86e5182
app/pages/forms/index.vue
@@ -21,7 +21,7 @@ useHead({
21
const { data, suspense } = useQuery<Form[]>({
22
queryKey: ['/api/forms/open'],
23
})
24
-suspense()
+await suspense()
25
26
if (!data.value) {
27
toast({
app/pages/manage/statuses.vue
@@ -26,7 +26,7 @@ let dataLoaded = false
const { data, suspense } = useQuery<ClassroomData[]>({
queryKey: ['/api/reservation/classroomId'],
28
29
30
31
if (data.value) {
32
data.value = data.value.sort((a: any, b: any) => a.name < b.name ? -1 : 1)
0 commit comments