1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Fix missing type for state

This commit is contained in:
Dariusz Niemczyk
2021-08-19 08:23:33 +02:00
parent fe1d0e66fe
commit fa03b10409

View File

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