feat: query portfolio in site home

This commit is contained in:
DIYgod
2023-08-04 22:19:34 +01:00
parent 1d918cba8a
commit cd591ef5a4
7 changed files with 68 additions and 20 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export default function SiteHome({ handle }: { handle: string }) {
const site = useGetSite(handle)
const posts = useGetPagesBySiteLite({
characterId: site.data?.characterId,
type: "post",
type: ["post", "portfolio"],
visibility: PageVisibilityEnum.Published,
useStat: true,
})