diff --git a/src/pages/ArticleInformation/ArticleInformation.jsx b/src/pages/ArticleInformation/ArticleInformation.jsx index 0d1d7fe..371d668 100644 --- a/src/pages/ArticleInformation/ArticleInformation.jsx +++ b/src/pages/ArticleInformation/ArticleInformation.jsx @@ -39,7 +39,6 @@ export const ArticleInformation = () => { articleIdToFetch, i18n.language ); - const finalData = destructureArticleData(data); return finalData; }; @@ -60,6 +59,7 @@ export const ArticleInformation = () => { excludeId: articleData.id, populate: true, ids: articleIdsQuerry.data, + ageGroupId: articleData.ageGroupId, }); if (data.length === 0) { @@ -71,6 +71,7 @@ export const ArticleInformation = () => { excludeId: articleData.id, populate: true, ids: articleIdsQuerry.data, + ageGroupId: articleData.ageGroupId, }); return newest.data; }