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 } }))