You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Remove useless constructor
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user