mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-17 09:54:08 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
227734cebf
commit
c623bfdb0f
@ -62,11 +62,7 @@ const BlogIndexPage = ({
|
||||
<Meta title="Blog | Laconic Network" />
|
||||
<Hero featuredPost={heroBlogPost} />
|
||||
<PostsGrid>
|
||||
<Fragment>
|
||||
{initialBlogPosts.data.map((post : any, postIdx) => (
|
||||
<BlogCard data={post} key={postIdx} />
|
||||
))}
|
||||
</Fragment>
|
||||
|
||||
</PostsGrid>
|
||||
</PageLayout>
|
||||
)
|
||||
@ -162,11 +158,7 @@ const BlogIndexPage = ({
|
||||
{!isLoading ? (
|
||||
hasResults ? (
|
||||
queriedPosts?.pages?.map((page, pageIdx) => (
|
||||
<Fragment key={pageIdx}>
|
||||
{page.data.map((post : any, postIdx) => (
|
||||
<BlogCard data={post} key={postIdx} />
|
||||
))}
|
||||
</Fragment>
|
||||
|
||||
))
|
||||
) : (
|
||||
<p>No results.</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user