Fix missing type for state
This commit is contained in:
parent
fe1d0e66fe
commit
fa03b10409
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue