From 0f3bc22763e9182a04aeffeee587ed8c5a200513 Mon Sep 17 00:00:00 2001 From: stefanbabukov Date: Fri, 15 Dec 2023 16:12:15 +0200 Subject: [PATCH] minor rename Signed-off-by: stefanbabukov --- src/components/plots/styling/violin/ViolinControls.jsx | 6 +++--- .../[experimentId]/plots-and-tables/violin/index.jsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/plots/styling/violin/ViolinControls.jsx b/src/components/plots/styling/violin/ViolinControls.jsx index 3451f33e2e..e378253766 100644 --- a/src/components/plots/styling/violin/ViolinControls.jsx +++ b/src/components/plots/styling/violin/ViolinControls.jsx @@ -22,14 +22,14 @@ const ViolinControls = (props) => { setSelectedPlotUuid, cellSets, shownGenes, - changeFirstPlotGene, + changeSelectedPlotGene, } = props; return ( @@ -93,7 +93,7 @@ ViolinControls.propTypes = { cellSets: PropTypes.object.isRequired, shownGenes: PropTypes.array.isRequired, experimentId: PropTypes.string.isRequired, - changeFirstPlotGene: PropTypes.func.isRequired, + changeSelectedPlotGene: PropTypes.func.isRequired, }; ViolinControls.defaultProps = { diff --git a/src/pages/experiments/[experimentId]/plots-and-tables/violin/index.jsx b/src/pages/experiments/[experimentId]/plots-and-tables/violin/index.jsx index e9c53c57de..74385b18b3 100644 --- a/src/pages/experiments/[experimentId]/plots-and-tables/violin/index.jsx +++ b/src/pages/experiments/[experimentId]/plots-and-tables/violin/index.jsx @@ -122,7 +122,7 @@ const ViolinIndex = ({ experimentId }) => { cellSets={cellSets} shownGenes={shownGenes} experimentId={experimentId} - changeFirstPlotGene={changeSelectedPlotGene} + changeSelectedPlotGene={changeSelectedPlotGene} /> );