From 8ce38637c0a8ebb8aab936aec2ee46d5833e7b3b Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 30 Jan 2019 02:35:37 -0500 Subject: from last from last --- src/views/collections/CollectionDockingView.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/views/collections/CollectionDockingView.tsx b/src/views/collections/CollectionDockingView.tsx index 8dabe4490..7dfec1c54 100644 --- a/src/views/collections/CollectionDockingView.tsx +++ b/src/views/collections/CollectionDockingView.tsx @@ -90,7 +90,7 @@ export class CollectionDockingView extends React.Component } myLayout: any = null; - componentDidMount() { + componentDidMount: () => void = () => { const { fieldKey, Document: Document } = this.props; @@ -138,10 +138,7 @@ export class CollectionDockingView extends React.Component }); }); - var me = this; - var cv = this.props.ContainingDocumentView; this.myLayout.registerComponent('documentViewComponent', this.registerComponentWithCallback); - this.myLayout.container = this._containerRef.current; this.myLayout.init(); } -- cgit v1.2.3-70-g09d2