Updated
This commit is contained in:
@@ -14,7 +14,6 @@ const { suspense : suspenseComments} = useGetComments(id, page);
|
|||||||
|
|
||||||
// ssr
|
// ssr
|
||||||
|
|
||||||
await useAsyncData(async () => {
|
|
||||||
const productResponse = await suspenseProduct();
|
const productResponse = await suspenseProduct();
|
||||||
const commentsResponse = await suspenseComments();
|
const commentsResponse = await suspenseComments();
|
||||||
|
|
||||||
@@ -24,7 +23,6 @@ await useAsyncData(async () => {
|
|||||||
statusMessage: `error : product ${id} prefetch error`
|
statusMessage: `error : product ${id} prefetch error`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user