]> git.immae.eu Git - github/fretlink/time-picker.git/blobdiff - src/TimePicker.jsx
Add a noop onChange to remove react's warning
[github/fretlink/time-picker.git] / src / TimePicker.jsx
index 9a91a2ca0aba129d89dcdb845ed610e0896b5649..e3c5a79fd6e232f675151318000b4c174110c633 100644 (file)
@@ -285,6 +285,7 @@ export default class Picker extends Component {
             onFocus={onFocus}
             onBlur={onBlur}
             autoFocus={autoFocus}
+            onChange={noop}
           />
           <span className={`${prefixCls}-icon`}/>
         </span>