chore: More type improvements

This commit is contained in:
Tom Moor
2021-12-12 18:44:32 -08:00
parent 46f839431b
commit 0340149457
8 changed files with 176 additions and 209 deletions

View File

@@ -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}>

View File

@@ -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 = () => {