diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/views/collections/CollectionDockingView.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
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<CollectionViewProps> } myLayout: any = null; - componentDidMount() { + componentDidMount: () => void = () => { const { fieldKey, Document: Document } = this.props; @@ -138,10 +138,7 @@ export class CollectionDockingView extends React.Component<CollectionViewProps> }); }); - var me = this; - var cv = this.props.ContainingDocumentView; this.myLayout.registerComponent('documentViewComponent', this.registerComponentWithCallback); - this.myLayout.container = this._containerRef.current; this.myLayout.init(); } |