diff options
Diffstat (limited to 'src/Main.tsx')
-rw-r--r-- | src/Main.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.tsx b/src/Main.tsx index cc0f9f9cb..431a5db96 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -38,7 +38,7 @@ document.addEventListener("pointerdown", action(function (e: PointerEvent) { //runInAction(() => { - let doc1 = Documents.TextDocument("Hello world", { title: "hello" }); + let doc1 = Documents.TextDocument({ title: "hello" }); let doc2 = doc1.MakeDelegate(); doc2.SetField(KS.X, new NumberField(150)); doc2.SetField(KS.Y, new NumberField(20)); |