Some lints

This commit is contained in:
Jorik Schellekens 2020-05-06 17:25:54 +01:00
parent f7b3662e0b
commit bab7d5f461
6 changed files with 25 additions and 25 deletions

View file

@ -47,7 +47,7 @@ export default class Slider extends React.Component<IProps> {
// the index of the first number greater than value.
let closest = values.reduce((prev, curr) => {
return (value > curr ? prev + 1 : prev);
}, 0);
}, 0);
// Off the left
if (closest === 0) {