Skip to content

Commit 195f4da

Browse files
authoredMar 2, 2020
FIx (www): fixed rendering errors in showcase and starter pag… (#21876)
1 parent a8b6f48 commit 195f4da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎www/src/views/showcase/filtered-showcase.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const filterByCategories = (list, categories) => {
2929
categories.length === 0 ||
3030
filteredCategories.length === categories.length
3131
) {
32-
aggregated.push(edge)
32+
aggregated.push(node)
3333
}
3434

3535
return aggregated

‎www/src/views/starter-library/filtered-starters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function count(arrays) {
276276

277277
function filterByCategories(list, categories) {
278278
let starters = list
279-
starters = starters.filter(({ node: starter }) =>
279+
starters = starters.filter(starter =>
280280
isSuperset(starter.tags, categories)
281281
)
282282
return starters

0 commit comments

Comments
 (0)
Please sign in to comment.