From 62c88503ba43c864f7fe981111a1f7577879916e Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Tue, 15 Apr 2025 13:53:42 -0400
Subject: fixing summary/elision text node to work better with lists or
 hierarchical text nodes.

---
 src/client/views/nodes/KeyValueBox.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/nodes/KeyValueBox.tsx')

diff --git a/src/client/views/nodes/KeyValueBox.tsx b/src/client/views/nodes/KeyValueBox.tsx
index 706607fe1..aa66b5ba9 100644
--- a/src/client/views/nodes/KeyValueBox.tsx
+++ b/src/client/views/nodes/KeyValueBox.tsx
@@ -104,7 +104,7 @@ export class KeyValueBox extends ViewBoxBaseComponent<FieldViewProps>() {
             default: {
                 const _setCacheResult_ = (value: FieldResult) => {
                     field = value as FieldType;
-                    if (setResult) setResult?.(value);
+                    if (setResult) setResult(value);
                     else target[key] = field;
                 };
                 const res = script.run({ this: doc, _setCacheResult_ }, console.log);
-- 
cgit v1.2.3-70-g09d2

