diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-02 01:31:03 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-02 01:31:03 -0400 |
commit | eebe58b47acfe3b13c22407b98763cdbd6e1eb58 (patch) | |
tree | e2e6d0e9ffd6b74c9b0e70ba190a33cf3cbc7732 /src/client/views/nodes/DocumentView.tsx | |
parent | be3719bbbede85b4dd099f436b4f7d3bade157cb (diff) |
"Fixed" proto access issue
This is actually cause by import order, which I didn't really fix yet but which needs to be fixed
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index b35d68c4b..f58dc4a02 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -198,9 +198,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu CollectionDockingView.Instance.AddRightSplit(kvp); } fullScreenClicked = (e: React.MouseEvent): void => { - const doc = Doc.MakeDelegate(FieldValue(this.props.Document.proto)); - // bcz .. should this work? - // const doc = Doc.MakeDelegate(FieldValue(this.Document.proto)); + const doc = Doc.MakeDelegate(FieldValue(this.Document.proto)); if (doc) { CollectionDockingView.Instance.OpenFullScreen(doc); } |