mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
tslint
This commit is contained in:
@@ -50,12 +50,12 @@ export default class Slider extends React.Component<IProps> {
|
||||
}, 0);
|
||||
|
||||
// Off the left
|
||||
if (closest == 0) {
|
||||
if (closest === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Off the right
|
||||
if (closest == values.length) {
|
||||
if (closest === values.length) {
|
||||
return 100;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user