Remove useless constructor

This commit is contained in:
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

View file

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