diff --git a/components/categories/CategoryPageContent.tsx b/components/categories/CategoryPageContent.tsx index 1a2ee067..bac6d537 100644 --- a/components/categories/CategoryPageContent.tsx +++ b/components/categories/CategoryPageContent.tsx @@ -79,7 +79,7 @@ const CategoryPageContent = ({ page: CategoryPage; pageSectionColor: string; }) => { - const hasMainContentTemplate = !!page.layout?.layoutMainBottom; + const hasMainContentTemplate = !!page.layout?.layoutMainBottom?.length; const hasAsideTemplate = !!page.layout?.layoutAside; const hasAside = hasAsideTemplate &&