Skip to content

Commit 7d7f6bf

Browse files
author
Adriána Kohanová
committed
#407 Properly turn on/off inspiration fragments when using the next/previous arrows (bug of #384)
1 parent 9dfd6b7 commit 7d7f6bf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

js/components/preview/molecule/moleculeList.js

-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ import { useRouteMatch } from 'react-router-dom';
5959
import { setSortDialogOpen } from './redux/actions';
6060
import { setCachedMolLists, setMoleculeList } from '../../../reducers/api/actions';
6161
import { AlertModal } from '../../common/Modal/AlertModal';
62-
import { removeAllSelectedDatasetMolecules } from '../../datasets/redux/dispatchActions';
6362

6463
const useStyles = makeStyles(theme => ({
6564
container: {
@@ -462,8 +461,6 @@ export const MoleculeList = memo(({ height, setFilterItemsHeight, filterItemsHei
462461
const foundedMolecule = molecules?.find(mol => mol.id === moleculeID);
463462
dispatch(removeVector(stage, foundedMolecule, colourList[foundedMolecule.id % colourList.length]));
464463
});
465-
466-
dispatch(removeAllSelectedDatasetMolecules(stage));
467464
};
468465

469466
const addNewType = type => {

0 commit comments

Comments
 (0)