Signed-off-by: Traxus <shyidx@gmail.com>

This commit is contained in:
Traxus 2023-04-21 22:18:02 -04:00
parent 6e4d0eff6f
commit c0f0742426

View File

@ -63,7 +63,7 @@ const BlogIndexPage = ({
<Hero featuredPost={heroBlogPost} />
<PostsGrid>
<Fragment>
{initialBlogPosts.data.map((post, postIdx) => (
{initialBlogPosts.data.map((post : any, postIdx) => (
<BlogCard data={post} key={postIdx} />
))}
</Fragment>
@ -163,7 +163,7 @@ const BlogIndexPage = ({
hasResults ? (
queriedPosts?.pages?.map((page, pageIdx) => (
<Fragment key={pageIdx}>
{page.data.map((post, postIdx) => (
{page.data.map((post : any, postIdx) => (
<BlogCard data={post} key={postIdx} />
))}
</Fragment>