From afc3b57e23f1b7436a7753e1d6852bba882cfb66 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 30 Oct 2015 18:02:33 +0800 Subject: [PATCH] fix: typo --- src/Slider.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Slider.jsx b/src/Slider.jsx index 078d053..8c8edb0 100644 --- a/src/Slider.jsx +++ b/src/Slider.jsx @@ -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); }