Fix missing type for state

This commit is contained in:
Dariusz Niemczyk 2021-08-19 08:23:33 +02:00
parent fe1d0e66fe
commit fa03b10409
No known key found for this signature in database
GPG key ID: 3E8DC619E3C59A05

View file

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