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;
|
||||
});
|
||||
|
||||
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;
|
||||
if (colorIdx > colors.length) {
|
||||
// Start cycle again
|
||||
|
|
Loading…
Reference in a new issue