mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-28 12:36:41 +07:00
fixed typescript errors
This commit is contained in:
parent
9a7a038032
commit
fe311e7839
41 changed files with 786 additions and 777 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue