You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-04 11:51:45 +03:00
Fix missing type for state
This commit is contained in:
@@ -41,7 +41,7 @@ export default class BackdropPanel extends React.PureComponent<IProps, IState> {
|
||||
};
|
||||
private style = getComputedStyle(document.documentElement);
|
||||
|
||||
public state = {};
|
||||
public state: IState = {};
|
||||
|
||||
public componentDidMount() {
|
||||
UIStore.instance.on("SpacePanel", this.onResize);
|
||||
|
||||
Reference in New Issue
Block a user