tslint
This commit is contained in:
@@ -50,12 +50,12 @@ export default class Slider extends React.Component<IProps> {
|
|||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
// Off the left
|
// Off the left
|
||||||
if (closest == 0) {
|
if (closest === 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Off the right
|
// Off the right
|
||||||
if (closest == values.length) {
|
if (closest === values.length) {
|
||||||
return 100;
|
return 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user