From ecc4ef968d90807c53a7f9ceb979fd3c05657d95 Mon Sep 17 00:00:00 2001 From: Aditya Paul <122125787+Paulie-Aditya@users.noreply.github.com> Date: Wed, 17 Sep 2025 10:02:23 +0530 Subject: [PATCH] adding published field to props Adding published field to props since it exists in the contentlayer, but warning is displayed which says it is an invalid field --- app/projects/[slug]/header.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/projects/[slug]/header.tsx b/app/projects/[slug]/header.tsx index bab697aa..7d55aefd 100644 --- a/app/projects/[slug]/header.tsx +++ b/app/projects/[slug]/header.tsx @@ -9,6 +9,7 @@ type Props = { title: string; description: string; repository?: string; + published?: boolean; }; views: number;