From 9d64a65aa426c74035e06cc0d00ad0155c3971e9 Mon Sep 17 00:00:00 2001 From: Traxus Date: Sat, 22 Apr 2023 01:00:58 -0400 Subject: [PATCH] Signed-off-by: Traxus --- src/pages/blog/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/blog/index.tsx b/src/pages/blog/index.tsx index 46291ea..aa24ffa 100644 --- a/src/pages/blog/index.tsx +++ b/src/pages/blog/index.tsx @@ -250,7 +250,7 @@ export const getStaticProps = async () => { //function getInitialBlogPostsDataProp(allBlogPosts : object) { function getInitialBlogPostsDataProp(allBlogPosts : any) { - let initialBlogPostsDataProp = {}; + let initialBlogPostsDataProp : any[] = []; if (process.env.NEXT_PUBLIC_DATOCMS_BYPASS_TYPE === "local_json") { //-----no pagination