mirror of
https://github.com/wassname/slider.git
synced 2026-09-09 11:35:22 +08:00
fix: typo
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ class Slider extends React.Component {
|
||||
} else {
|
||||
// Note: Maybe `value` is `0`.
|
||||
// So, check the existence of `value` with `in`.
|
||||
const defaultValue = ('defauleValue' in props ? props.defaultValue : 0);
|
||||
const defaultValue = ('defaultValue' in props ? props.defaultValue : 0);
|
||||
const value = ('value' in props ? props.value : defaultValue);
|
||||
upperBound = this.trimAlignValue(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user