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]}) }