diff --git a/theme/src/client/components/Home/VPHome.vue b/theme/src/client/components/Home/VPHome.vue index a50a02ab..7380ac43 100644 --- a/theme/src/client/components/Home/VPHome.vue +++ b/theme/src/client/components/Home/VPHome.vue @@ -20,8 +20,8 @@ const slots = defineSlots<{ 'posts-post-list-pagination-after': () => any }>() -function VPHomePosts() { - return h(VPPosts, { homePosts: true }, { +function VPHomePosts(props: Record = {}) { + return h(VPPosts, { homePosts: true, ...props }, { 'posts-top': () => slots['posts-top']?.(), 'posts-bottom': () => slots['posts-bottom']?.(), 'posts-post-list-before': () => slots['posts-post-list-before']?.(),