Skip to content

Commit

Permalink
FIx (www): fixed rendering errors in showcase and starter pag… (#21876)
Browse files Browse the repository at this point in the history
  • Loading branch information
kawamataryo committed Mar 2, 2020
1 parent a8b6f48 commit 195f4da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/src/views/showcase/filtered-showcase.js
Expand Up @@ -29,7 +29,7 @@ const filterByCategories = (list, categories) => {
categories.length === 0 ||
filteredCategories.length === categories.length
) {
aggregated.push(edge)
aggregated.push(node)
}

return aggregated
Expand Down
2 changes: 1 addition & 1 deletion www/src/views/starter-library/filtered-starters.js
Expand Up @@ -276,7 +276,7 @@ function count(arrays) {

function filterByCategories(list, categories) {
let starters = list
starters = starters.filter(({ node: starter }) =>
starters = starters.filter(starter =>
isSuperset(starter.tags, categories)
)
return starters
Expand Down

0 comments on commit 195f4da

Please sign in to comment.