Skip to content

Commit 5d9065d

Browse files
- fixed problem where no inspirations were displayed
1 parent 1783871 commit 5d9065d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

js/components/datasets/datasetMoleculeView.js

-14
Original file line numberDiff line numberDiff line change
@@ -485,20 +485,6 @@ export const DatasetMoleculeView = memo(
485485
});
486486
};
487487

488-
const getInspirationsForMol = (datasetId, molId) => {
489-
let inspirations = [];
490-
491-
if (
492-
allInspirations &&
493-
allInspirations.hasOwnProperty(datasetId) &&
494-
allInspirations[datasetId].hasOwnProperty(molId)
495-
) {
496-
inspirations = allInspirations[datasetId][molId];
497-
}
498-
499-
return inspirations;
500-
};
501-
502488
const handleClickOnDownArrow = () => {
503489
const refNext = ref.current.nextSibling;
504490
scrollToElement(refNext);

0 commit comments

Comments
 (0)