diff --git a/apps/blog/components/year-post.tsx b/apps/blog/components/year-post.tsx index 559064ed..9524385a 100644 --- a/apps/blog/components/year-post.tsx +++ b/apps/blog/components/year-post.tsx @@ -13,7 +13,7 @@ export interface YearPostProps { } export function YearPost({ year, posts, className }: YearPostProps) { - if (!posts?.length) { + if (!posts.length) { return null }