Skip to content

Commit

Permalink
Merge branch 'master' into #460
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms authored Dec 2, 2020
2 parents d9a595b + eb1edbd commit 43363c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion js/components/preview/molecule/moleculeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ export const MoleculeList = memo(({ height, setFilterItemsHeight, filterItemsHei
}
}
});

return result;
}, [getAllMoleculeList]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ export const MoleculeListSortFilterDialog = memo(
}
return initObject;
}, [joinedMoleculeLists]);

const [initState, setInitState] = useState(initialize());

filter = filter || initState;

const [filteredCount, setFilteredCount] = useState(getFilteredMoleculesCount(joinedMoleculeLists, filter));
const [predefinedFilter, setPredefinedFilter] = useState(filter.predefined);

Expand Down

0 comments on commit 43363c3

Please sign in to comment.