fixed typescript errors

This commit is contained in:
Fedor Katurov 2021-04-08 16:25:25 +07:00
parent 9a7a038032
commit fe311e7839
41 changed files with 786 additions and 777 deletions

View file

@ -23,10 +23,15 @@ class StickerDesc extends React.PureComponent<Props, State> {
blockMouse = e => {
e.preventDefault();
e.stopPropagation();
if (!this.input) {
return
}
this.input.focus();
};
input: HTMLTextAreaElement;
input: HTMLTextAreaElement | null = null;
render() {
const { value: text } = this.props;