1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

Remove useless constructor

This commit is contained in:
Dariusz Niemczyk
2021-08-19 07:14:28 +02:00
parent 468bb5cdcf
commit fe1d0e66fe

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);