Skip to content

Commit

Permalink
Update datasetMoleculeView.js
Browse files Browse the repository at this point in the history
fixed problem with inspirations not displaying
  • Loading branch information
boriskovar-m2ms authored Feb 9, 2021
1 parent 55e6993 commit 7412cbd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions js/components/datasets/datasetMoleculeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,20 +485,6 @@ export const DatasetMoleculeView = memo(
});
};

const getInspirationsForMol = (datasetId, molId) => {
let inspirations = [];

if (
allInspirations &&
allInspirations.hasOwnProperty(datasetId) &&
allInspirations[datasetId].hasOwnProperty(molId)
) {
inspirations = allInspirations[datasetId][molId];
}

return inspirations;
};

const handleClickOnDownArrow = () => {
const refNext = ref.current.nextSibling;
scrollToElement(refNext);
Expand Down

0 comments on commit 7412cbd

Please sign in to comment.