Some lints
This commit is contained in:
parent
f7b3662e0b
commit
bab7d5f461
6 changed files with 25 additions and 25 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue