Make linter happy
This commit is contained in:
parent
fe40eda28f
commit
9e64478854
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class LineChart extends Component {
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|
||||||
const shapes = references.split(' ').filter(spec => !isNaN(parseFloat(spec))).map((spec, idx) => {
|
const shapes = references.split(' ').filter(spec => !Number.isNaN(parseFloat(spec))).map((spec, idx) => {
|
||||||
let colorIdx = data.length + idx;
|
let colorIdx = data.length + idx;
|
||||||
if (colorIdx > colors.length) {
|
if (colorIdx > colors.length) {
|
||||||
// Start cycle again
|
// Start cycle again
|
||||||
|
|
Loading…
Reference in a new issue