Skip to content

Commit a636fa2

Browse files
committed
fix(layer): simplify landing collection query to fix prerender
1 parent aaf922c commit a636fa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/layer/app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ definePageMeta({
44
})
55
66
const { data: page } = await useAsyncData('landing', () =>
7-
queryCollection('landing').path('/').first())
7+
queryCollection('landing').first())
88
</script>
99

1010
<template>

0 commit comments

Comments
 (0)