Skip to content

Commit

Permalink
Merge branch 'latest' into WSTEAMA-453-update-lighthouse-tests-to-use…
Browse files Browse the repository at this point in the history
…-new-kyrgyz-homepage
  • Loading branch information
holchris authored Jun 16, 2023
2 parents a4fd7c2 + 02db6a9 commit 9856797
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const mostReadItems = ({ data, isAmp, numberOfItems, service }) => {

const records = pathOr([], ['records'], filteredData);

const items = data.items || [];
const items = data.items?.slice(0, numberOfItems) || [];
// eslint-disable-next-line no-restricted-syntax
for (const record of records) {
const mostReadItemData =
Expand Down

0 comments on commit 9856797

Please sign in to comment.