mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-17 06:24:09 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
b715d37d0f
commit
d2d704fceb
@ -3,7 +3,7 @@
|
||||
"category": {
|
||||
"id": "2965426",
|
||||
"slug": "news",
|
||||
"title": "[TEST EDIT TO LOCAL JSON] News"
|
||||
"title": "News"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -247,7 +247,6 @@ export const getStaticProps = async () => {
|
||||
|
||||
//===== \/ START NEXT_PUBLIC_DATOCMS_BYPASS \/ ====================================================
|
||||
|
||||
//function getInitialBlogPostsDataProp(allBlogPosts : object) {
|
||||
function getInitialBlogPostsDataProp(allBlogPosts : any) {
|
||||
|
||||
let initialBlogPostsDataProp : any[] = [];
|
||||
@ -270,7 +269,7 @@ export const getStaticProps = async () => {
|
||||
])
|
||||
*/
|
||||
|
||||
const [allBlogPosts, categories] = await Promise.all([
|
||||
const [allBlogPosts, categories : any[]] = await Promise.all([
|
||||
getAllBlogPostsFromSource({ page: 1 }),
|
||||
getAllBlogPostsCategoriesFromSource(),
|
||||
])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user