Skip to content

Commit

Permalink
- fixed yet another automatic merge problem
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms committed Jan 25, 2021
1 parent 1e09b45 commit 4efbbee
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 4efbbee

Please sign in to comment.