Skip to content

Commit

Permalink
deleted console.log`s
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldfor committed Jul 22, 2019
1 parent 11e7a74 commit d9da9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/LegendBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class LegendBar extends React.Component {
let col = [];
var MAX = array[(array.length - 1)];
var MIN = array[0];
console.log(1, this);
//console.log(1, this);
if((array.length === 1) && (array[0] !== 0)){
MAX = this.state.tmax;
MIN = this.state.tmin;
Expand All @@ -40,7 +40,7 @@ export class LegendBar extends React.Component {
MIN = 0;
}
this.state = {tmax: MAX, tmin: MIN};
console.log(2, this);
//console.log(2, this);
for(let i = 0; i < array.length; i++)
col.push(hsvToHex({h: mapValue(array[i], MIN, MAX, 0, 90), s: 100, v: 100}));
return col;
Expand Down

0 comments on commit d9da9c2

Please sign in to comment.