diff --git a/packages/article-extras/src/article-extras.js b/packages/article-extras/src/article-extras.js index 3979960786..7c3021dbfd 100644 --- a/packages/article-extras/src/article-extras.js +++ b/packages/article-extras/src/article-extras.js @@ -61,8 +61,10 @@ const ArticleExtras = ({ return null; }; - - const { categoryArticles, parentCategoryArticles } = categorisedArticles; + const categoryArticles = + (categorisedArticles && categorisedArticles.categoryArticles) || null; + const parentCategoryArticles = + (categorisedArticles && categorisedArticles.parentCategoryArticles) || null; /* Nativo insert Sponsored Articles after the div#sponsored-article element. They are not able to insert directly into that element hence the container div */ const sponsoredArticlesAndRelatedArticles = (