diff --git a/js/components/preview/molecule/observationCmpView/observationCmpView.js b/js/components/preview/molecule/observationCmpView/observationCmpView.js index 679a330c0..4c33a9ab1 100644 --- a/js/components/preview/molecule/observationCmpView/observationCmpView.js +++ b/js/components/preview/molecule/observationCmpView/observationCmpView.js @@ -767,7 +767,6 @@ const ObservationCmpView = memo( const [loadingAll, setLoadingAll] = useState(false); const [loadingLigand, setLoadingLigand] = useState(false); - const onLigand = calledFromSelectAll => { setLoadingLigand(true); if (calledFromSelectAll === true && selectedAll.current === true) { @@ -810,7 +809,6 @@ const ObservationCmpView = memo( }; const [loadingProtein, setLoadingProtein] = useState(false); - const onProtein = calledFromSelectAll => { setLoadingProtein(true); if (calledFromSelectAll === true && selectedAll.current === true) { @@ -850,7 +848,6 @@ const ObservationCmpView = memo( }; const [loadingComplex, setLoadingComplex] = useState(false); - const onComplex = calledFromSelectAll => { setLoadingComplex(true); if (calledFromSelectAll === true && selectedAll.current === true) { @@ -889,7 +886,6 @@ const ObservationCmpView = memo( }; const [loadingSurface, setLoadingSurface] = useState(false); - const onSurface = () => { setLoadingSurface(true); if (isSurfaceOn === false) { @@ -925,7 +921,6 @@ const ObservationCmpView = memo( }; const [loadingDensity, setLoadingDensity] = useState(false); - const onDensity = () => { setLoadingDensity(true); if (isDensityOn === false && isDensityCustomOn === false) { @@ -990,7 +985,6 @@ const ObservationCmpView = memo( }; const [loadingVector, setLoadingVector] = useState(false); - const onVector = () => { setLoadingVector(true); if (isVectorOn === false) {