aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2019-01-30 02:35:37 -0500
committerbobzel <zzzman@gmail.com>2019-01-30 02:35:37 -0500
commit8ce38637c0a8ebb8aab936aec2ee46d5833e7b3b (patch)
treebe90fa55e72bef9485b275bcedfe3be283c2bf7b
parent3032decb31fa6c891520923ed49612ba5ecf7c93 (diff)
from last
from last
-rw-r--r--src/views/collections/CollectionDockingView.tsx5
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();
}