mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-17 04:14:09 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
d2d704fceb
commit
d13f57a7e2
@ -158,7 +158,7 @@ const BlogIndexPage = ({
|
||||
>
|
||||
All
|
||||
</ButtonLink>
|
||||
{categories.map((category) => {
|
||||
{categories.map((category: any) => {
|
||||
return (
|
||||
<ButtonLink
|
||||
key={category.slug}
|
||||
@ -269,7 +269,7 @@ export const getStaticProps = async () => {
|
||||
])
|
||||
*/
|
||||
|
||||
const [allBlogPosts, categories : any[]] = await Promise.all([
|
||||
const [allBlogPosts, categories] = await Promise.all([
|
||||
getAllBlogPostsFromSource({ page: 1 }),
|
||||
getAllBlogPostsCategoriesFromSource(),
|
||||
])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user