mirror of https://github.com/vector-im/riot-web
Remove useless constructor
parent
468bb5cdcf
commit
fe1d0e66fe
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue