Skip to content

Commit

Permalink
minor rename
Browse files Browse the repository at this point in the history
Signed-off-by: stefanbabukov <[email protected]>
  • Loading branch information
StefanBabukov committed Dec 15, 2023
1 parent fd3bafa commit 0f3bc22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/plots/styling/violin/ViolinControls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ const ViolinControls = (props) => {
setSelectedPlotUuid,
cellSets,
shownGenes,
changeFirstPlotGene,
changeSelectedPlotGene,
} = props;

return (
<Collapse defaultActiveKey='view-multiple-plots'>
<Panel header='Gene selection' key='gene-selection'>
<GeneSearchBar
onSelect={changeFirstPlotGene}
onSelect={changeSelectedPlotGene}
allowMultiple={false}
buttonText='Search'
/>
Expand Down Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const ViolinIndex = ({ experimentId }) => {
cellSets={cellSets}
shownGenes={shownGenes}
experimentId={experimentId}
changeFirstPlotGene={changeSelectedPlotGene}
changeSelectedPlotGene={changeSelectedPlotGene}
/>
);

Expand Down

0 comments on commit 0f3bc22

Please sign in to comment.