Fix super argument

This commit is contained in:
afc163 2017-11-09 19:45:55 +08:00
parent ea185fe288
commit 148e5bd887

View File

@ -80,8 +80,8 @@ export default class Carousel extends React.Component<CarouselProps, any> {
innerSlider: any;
constructor() {
super();
constructor(props) {
super(props);
this.onWindowResized = debounce(this.onWindowResized, 500, {
leading: false,
});