🐛 Fix error with new paths

This commit is contained in:
alonso.torres 2026-04-09 12:19:57 +02:00
parent b0a99b65e4
commit 9518763a23

View File

@ -63,7 +63,7 @@
{:keys [last-point prev-handler]}
(get-in state [:workspace-local :edit-path id])
segment (path/next-node shape position last-point prev-handler)]
segment (path/next-node (:content shape) position last-point prev-handler)]
(assoc-in state [:workspace-local :edit-path id :preview] segment)))))
(defn add-node