chore: More type improvements
This commit is contained in:
@@ -568,7 +568,6 @@ class DocumentScene extends React.Component<Props> {
|
||||
onCancel={this.goBack}
|
||||
readOnly={readOnly}
|
||||
readOnlyWriteCheckboxes={readOnly && abilities.update}
|
||||
ui={this.props.ui}
|
||||
>
|
||||
{shareId && (
|
||||
<ReferencesWrapper isOnlyTitle={document.isOnlyTitle}>
|
||||
|
||||
@@ -18,7 +18,6 @@ type Props = EditorProps &
|
||||
title: string;
|
||||
document: Document;
|
||||
isDraft: boolean;
|
||||
shareId: string | null | undefined;
|
||||
multiplayer?: boolean;
|
||||
onSave: (arg0: {
|
||||
done?: boolean;
|
||||
@@ -60,6 +59,7 @@ class DocumentEditor extends React.Component<Props> {
|
||||
|
||||
handleLinkActive = (event: MouseEvent) => {
|
||||
this.activeLinkEvent = event;
|
||||
return false;
|
||||
};
|
||||
|
||||
handleLinkInactive = () => {
|
||||
|
||||
Reference in New Issue
Block a user