Closed angeloashmore closed 2 years ago
<SliceZone> expects a list of Slice objects to render, each with a slice_type property. This property is used to determine which component to render.
<SliceZone>
slice_type
Prismic's GraphQL API uses the type field rather than slice_type. The component should be updated to support the GraphQL-style object.
type
It works the same as when querying content from the Rest API.
It does not render the correct component for each Slice.
Fixed in #141
<SliceZone>
expects a list of Slice objects to render, each with aslice_type
property. This property is used to determine which component to render.Prismic's GraphQL API uses the
type
field rather thanslice_type
. The component should be updated to support the GraphQL-style object.Versions
Steps to reproduce
type
field.<SliceZone>
What is expected?
It works the same as when querying content from the Rest API.
What is actually happening?
It does not render the correct component for each Slice.