From 1784e508ff860daae6a950ad0b489ea2b0db43d9 Mon Sep 17 00:00:00 2001 From: Zach Wright Date: Wed, 6 Dec 2023 15:18:10 -0500 Subject: [PATCH] KPMP-4435: switch it back --- src/components/DataViz/RegionalProteomics.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/DataViz/RegionalProteomics.js b/src/components/DataViz/RegionalProteomics.js index 5368f583..2827d1de 100644 --- a/src/components/DataViz/RegionalProteomics.js +++ b/src/components/DataViz/RegionalProteomics.js @@ -58,7 +58,8 @@ class RegionalProteomics extends Component { } this.setState({ allData: allData }); this.setState({ accessionNums: accessionNums }) - this.setState({ plotData: allData[this.state.selectedAccession]}) + let plotData = allData[this.state.selectedAccession]; + this.setState({ plotData: plotData}) this.setState({ tableData: plotData[this.props.tissueType]}) }