mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 23:03:24 +08:00
Fix super argument
This commit is contained in:
parent
ea185fe288
commit
148e5bd887
@ -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,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user