Remove useless constructor

pull/21833/head
Dariusz Niemczyk 2021-08-19 07:14:28 +02:00
parent 468bb5cdcf
commit fe1d0e66fe
No known key found for this signature in database
GPG Key ID: 3E8DC619E3C59A05
1 changed files with 1 additions and 4 deletions

View File

@ -41,10 +41,7 @@ export default class BackdropPanel extends React.PureComponent<IProps, IState> {
}; };
private style = getComputedStyle(document.documentElement); private style = getComputedStyle(document.documentElement);
constructor(props: IProps) { public state = {};
super(props);
this.state = {};
}
public componentDidMount() { public componentDidMount() {
UIStore.instance.on("SpacePanel", this.onResize); UIStore.instance.on("SpacePanel", this.onResize);