From acd5bb403daf9f6e51acba85592a687852d6580f Mon Sep 17 00:00:00 2001 From: Traxus Date: Fri, 21 Apr 2023 21:59:49 -0400 Subject: [PATCH] Signed-off-by: Traxus --- src/pages/blog/[slug].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/blog/[slug].tsx b/src/pages/blog/[slug].tsx index 4c240c4..329a895 100644 --- a/src/pages/blog/[slug].tsx +++ b/src/pages/blog/[slug].tsx @@ -83,7 +83,7 @@ export const getStaticPaths: GetStaticPaths = async () => { //===== /\ FINISH NEXT_PUBLIC_DATOCMS_BYPASS /\ ==================================================== - const paths = posts?.map((post) => ({ + const paths = posts?.map((post : any) => ({ params: { slug: post.slug as string } }))