aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-15 22:46:19 -0400
committerbobzel <zzzman@gmail.com>2020-09-15 22:46:19 -0400
commit7d2d10747fec2d3377004bf6df7e95d7661e27f6 (patch)
tree8b818e9947700937aa979eb31fd489ee322c2b5d /src/client/views/collections/TabDocView.tsx
parentd11bee7e5e25240d37827c5369e45e551d22eafe (diff)
fixed some warnings
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
-rw-r--r--src/client/views/collections/TabDocView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index 76ca82c63..84dc6c9fb 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -339,7 +339,7 @@ export class TabDocView extends React.Component<TabDocViewProps> {
</>;
}
focusFunc = (doc: Doc, willZoom: boolean, scale?: number, afterFocus?: () => void) => {
- this.tab.header.parent.setActiveContentItem(this.tab.contentItem)
+ this.tab.header.parent.setActiveContentItem(this.tab.contentItem);
afterFocus?.();
}
setView = action((view: DocumentView) => this._view = view);