Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lgessler committed Dec 26, 2021
1 parent 3658098 commit 3df698d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/glam/client/ui/document/interlinear_editor.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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))))))
Expand Down

0 comments on commit 3df698d

Please sign in to comment.