diff --git a/lib/routes/bbc/utils.tsx b/lib/routes/bbc/utils.tsx index 35baf542f..a3760eefb 100644 --- a/lib/routes/bbc/utils.tsx +++ b/lib/routes/bbc/utils.tsx @@ -414,12 +414,7 @@ export const fetchBbcContent = async (link: string, item) => { const articleData = pageProps.page[pageProps.pageKey]; return { - category: [ - ...new Set([ - ...(item.category || []), - ...(articleData.topics?.map((t) => t.title) ?? []), - ]), - ], + category: [...new Set([...(item.category || []), ...(articleData.topics?.map((t) => t.title) ?? [])])], description: renderArticleContent(articleData.contents), }; }