# Query multiple documents inside home page

**URL:** <https://community.prismic.io/t/query-multiple-documents-inside-home-page/7139>\
**Category:** Developing with Prismic\
**Tags:** slice-machine\
**Created:** [September 20, 2021, 11:39pm UTC](https://community.prismic.io/t/query-multiple-documents-inside-home-page/7139 "2021-09-20T23:39:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [September 30, 2021, 12:28pm UTC](https://community.prismic.io/t/query-multiple-documents-inside-home-page/7139/9 "2021-09-30T12:28:28Z")

</div>

Hey @jprzpam,

I see that you're spreading your props to the `SliceZone` component. Instead, trying passing the `body` property from the `homepage` argument to the `slice` prop of the SliceZone and your sliceProps separately.

```auto
<SliceZone resolver={resolver} sliceProps={courses} slices={homepage.data.body} />

```

Let me know if that helps 🙂

Sam

---

_[View the full topic](https://community.prismic.io/t/query-multiple-documents-inside-home-page/7139)._
