I am trying to query a custom type 'Article' but when viewing the page in the local dev site I am getting slice zone is empty when the document is not empty. I have copied exactly how the page query works but not getting any results.
`import { Client } from '../../prismic'
import SliceZone from 'next-slicezone'
import { useGetStaticProps, useGetStaticPaths } from 'next-slicezone/hooks'
import resolver from '../../sm-resolver.js'
const Article = (props) => <SliceZone {...props} resolver={resolver} />
// Fetch content from prismic
export const getStaticProps = useGetStaticProps({
client: Client(),
uid: ({ params }) => params.uid
})
export const getStaticPaths = useGetStaticPaths({
client: Client(),
type: 'article',
fallback: true,// process.env.NODE_ENV === 'development',
formatPath: ({ uid }) => ({ params: { uid } })
})
export default Article`