Skip to content

Commit

Permalink
feat(TMRS-482): linting and test update
Browse files Browse the repository at this point in the history
  • Loading branch information
times-tools committed Nov 28, 2024
1 parent ad62398 commit 8849dbd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/article-extras/src/article-extras.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit 8849dbd

Please sign in to comment.