aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/FieldView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-02-05 11:22:10 -0500
committerbob <bcz@cs.brown.edu>2019-02-05 11:22:10 -0500
commit58c7742c18f82fe854784b083dfa723a8f256b72 (patch)
tree7f5df647e16b225c81db90a18e67bdca5be067b1 /src/views/nodes/FieldView.tsx
parent00a4534c535281aaecf4b47da64f1a0770e3bf68 (diff)
lots of reorganization
Diffstat (limited to 'src/views/nodes/FieldView.tsx')
-rw-r--r--src/views/nodes/FieldView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/nodes/FieldView.tsx b/src/views/nodes/FieldView.tsx
index b7a1d0526..9f0404dbf 100644
--- a/src/views/nodes/FieldView.tsx
+++ b/src/views/nodes/FieldView.tsx
@@ -1,5 +1,4 @@
import React = require("react")
-import { DocumentView, DocumentContentsView } from "./DocumentView";
import { Document } from "../../fields/Document";
import { observer } from "mobx-react";
import { computed } from "mobx";
@@ -11,6 +10,7 @@ import { FieldTextBox } from "./FieldTextBox";
import { ImageField } from "../../fields/ImageField";
import { ImageBox } from "./ImageBox";
import { Key } from "../../fields/Key";
+import { DocumentView } from "./DocumentView";
//
// these properties get assigned through the render() method of the DocumentView when it creates this node.
@@ -20,7 +20,7 @@ import { Key } from "../../fields/Key";
export interface FieldViewProps {
fieldKey: Key;
doc: Document;
- documentViewContainer: DocumentContentsView
+ documentViewContainer: DocumentView
}
@observer