Skip to content

Commit

Permalink
Merge pull request #228 from m2ms/allfunctionality
Browse files Browse the repository at this point in the history
Allfunctionality
  • Loading branch information
boriskovar-m2ms authored Jan 25, 2021
2 parents bc1493d + 4efbbee commit 4afeb35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/components/preview/molecule/moleculeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ export const MoleculeList = memo(({ height, setFilterItemsHeight, filterItemsHei
setFilterItemsHeight(0);
}
}, [isActiveFilter, setFilterItemsHeight]);

const joinedMoleculeListsCopy = useMemo(() => [...joinedMoleculeLists], [joinedMoleculeLists]);

useEffect(() => {
if (!joinedMoleculeListsCopy.length) {
Expand Down

0 comments on commit 4afeb35

Please sign in to comment.