fix: types errors
This commit is contained in:
parent
2226eecdf2
commit
f20faa868b
|
|
@ -39,7 +39,6 @@ export const getServerSideProps = async (
|
|||
site: domainOrSubdomain,
|
||||
page: pageSlug,
|
||||
render: true,
|
||||
includeAuthors: true,
|
||||
},
|
||||
queryClient,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ export const SiteLayout: React.FC<SiteLayoutProps> = ({
|
|||
site: domainOrSubdomain,
|
||||
page: pageSlug,
|
||||
render: true,
|
||||
includeAuthors: true,
|
||||
})
|
||||
|
||||
const site = useGetSite(domainOrSubdomain)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ function SitePagePage({
|
|||
site: domainOrSubdomain,
|
||||
page: pageSlug,
|
||||
render: true,
|
||||
includeAuthors: true,
|
||||
})
|
||||
|
||||
return <SitePage page={page.data} />
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ function SitePagePage() {
|
|||
site: site,
|
||||
page: pageSlug,
|
||||
render: true,
|
||||
includeAuthors: true,
|
||||
})
|
||||
|
||||
return <SitePage page={page.data} />
|
||||
|
|
|
|||
Loading…
Reference in New Issue