aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorandrewdkim <adkim414@gmail.com>2019-11-23 16:31:15 -0500
committerandrewdkim <adkim414@gmail.com>2019-11-23 16:31:15 -0500
commit5bf4dfa43e07a21bc5cb96b3b98f1a6ddb75b903 (patch)
tree8ea1f575986e903db00f60bca898319943c81a3f /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
parentb5b45c7d8eb9e3056c71d9ca213cca7f2d9c792a (diff)
another change
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 9fbfffc82..e2b4716ce 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -637,7 +637,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) {
}
private viewDefToJSX(viewDef: any): Opt<ViewDefResult> {
- if (viewDef.type === "text") {
+ if (viewDef.type === "text") {
const text = Cast(viewDef.text, "string"); // don't use NumCast, StrCast, etc since we want to test for undefined below
const x = Cast(viewDef.x, "number");
const y = Cast(viewDef.y, "number");