From 6ee91f4f5044465dfe33113dd84b7ffc8308bd2a Mon Sep 17 00:00:00 2001
From: bob <bcz@cs.brown.edu>
Date: Thu, 5 Dec 2019 11:11:07 -0500
Subject: compile warning fixes.

---
 src/client/views/collections/CollectionDockingView.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/client/views/collections/CollectionDockingView.tsx')

diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index e35dc4c00..4374cde3c 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -529,7 +529,7 @@ interface DockedFrameProps {
     documentId: FieldId;
     dataDocumentId: FieldId;
     glContainer: any;
-    libraryPath: (FieldId[])
+    libraryPath: (FieldId[]);
     //collectionDockingView: CollectionDockingView
 }
 @observer
@@ -558,8 +558,8 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> {
 
     async setupLibraryPath() {
         Promise.all(this.props.libraryPath.map(async docid => {
-            let d = await DocServer.GetRefField(docid);
-            return d instanceof Doc ? d : undefined
+            const d = await DocServer.GetRefField(docid);
+            return d instanceof Doc ? d : undefined;
         })).then(action((list: (Doc | undefined)[]) => this._libraryPath = list.filter(d => d).map(d => d as Doc)));
     }
 
-- 
cgit v1.2.3-70-g09d2

