diff options
author | bobzel <zzzman@gmail.com> | 2019-01-30 02:35:37 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2019-01-30 02:35:37 -0500 |
commit | 8ce38637c0a8ebb8aab936aec2ee46d5833e7b3b (patch) | |
tree | be90fa55e72bef9485b275bcedfe3be283c2bf7b /src | |
parent | 3032decb31fa6c891520923ed49612ba5ecf7c93 (diff) |
from last
from last
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(); } |