fix: typo

This commit is contained in:
Benjy Cui
2015-10-30 18:02:33 +08:00
parent 9dccdb6c90
commit afc3b57e23
+1 -1
View File
@@ -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);
}