From 3df698dc234e8cbccb95a7196cbc7672eb5d4a03 Mon Sep 17 00:00:00 2001 From: Luke Gessler Date: Sun, 26 Dec 2021 14:35:59 -0500 Subject: [PATCH] oops --- src/main/glam/client/ui/document/interlinear_editor.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/glam/client/ui/document/interlinear_editor.cljs b/src/main/glam/client/ui/document/interlinear_editor.cljs index 9dca281..6f027bd 100644 --- a/src/main/glam/client/ui/document/interlinear_editor.cljs +++ b/src/main/glam/client/ui/document/interlinear_editor.cljs @@ -166,7 +166,7 @@ @spans)) needs-span (difference contentful-lines covered-lines)] (doseq [line-num needs-span] - (let [tokens-for-line (vec (line->tokens line-num)) + (let [tokens-for-line (mapv :token/id (line->tokens line-num)) record {:span/value "" :span/tokens tokens-for-line}] (swap! updates conj [:create record]) (swap! spans conj (assoc record :span/id (tempid/tempid))))))