diff options
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/Panel.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index fee536b..9d98e8a 100644 --- a/package.json +++ b/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "rc-time-picker", | 2 | "name": "rc-time-picker", |
3 | "version": "2.0.1", | 3 | "version": "2.0.2", |
4 | "description": "React TimePicker", | 4 | "description": "React TimePicker", |
5 | "keywords": [ | 5 | "keywords": [ |
6 | "react", | 6 | "react", |
diff --git a/src/Panel.jsx b/src/Panel.jsx index f5cf7bc..9066b03 100644 --- a/src/Panel.jsx +++ b/src/Panel.jsx | |||
@@ -97,7 +97,7 @@ const Panel = React.createClass({ | |||
97 | const secondOptions = generateOptions(60, disabledSecondOptions, hideDisabledOptions); | 97 | const secondOptions = generateOptions(60, disabledSecondOptions, hideDisabledOptions); |
98 | 98 | ||
99 | return ( | 99 | return ( |
100 | <div className={classNames({ [`${prefixCls}-inner`]: true, [className]: className })}> | 100 | <div className={classNames({ [`${prefixCls}-inner`]: true, [className]: !!className })}> |
101 | <Header | 101 | <Header |
102 | clearText={clearText} | 102 | clearText={clearText} |
103 | prefixCls={prefixCls} | 103 | prefixCls={prefixCls} |