Skip to content

Commit

Permalink
[FIX] Scatter plot bug
Browse files Browse the repository at this point in the history
  • Loading branch information
eurunuela committed Oct 18, 2021
1 parent e9901d6 commit a7a1520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rica",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
Expand Down
2 changes: 1 addition & 1 deletion src/Plots/Plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class Plots extends React.Component {
this.setState({ variance: variance });

// Get component name of selected component
var compName = this.state.variance.labels[index].match(/\d/g);
var compName = this.state.kappaRho.labels[index].match(/\d/g);
compName = compName.join("");
compName = `comp_0${compName}.png`;

Expand Down

0 comments on commit a7a1520

Please sign in to comment.