Fix error on export (#808)
This commit is contained in:
parent
4e489bfb6d
commit
74add8661a
@ -31,7 +31,10 @@ export class ProjectName extends Component<Props> {
|
||||
e.currentTarget.blur();
|
||||
}
|
||||
};
|
||||
private makeEditable = (editable: HTMLSpanElement) => {
|
||||
private makeEditable = (editable: HTMLSpanElement | null) => {
|
||||
if (!editable) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
editable.contentEditable = "plaintext-only";
|
||||
} catch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user