0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

🐛 Fix linter issue

This commit is contained in:
alonso.torres 2022-03-15 11:27:12 +01:00
parent 7a253dc9e4
commit 43d4acc94b

View file

@ -567,13 +567,13 @@
(->> flows-node :content (mapv parse-flow-node))))
(defn parse-guide-node [node]
(let [attrs (-> node :attrs remove-penpot-prefix)]
(let [id (uuid/next)]
(let [attrs (-> node :attrs remove-penpot-prefix)
id (uuid/next)]
[id
{:id id
:frame-id (when (:frame-id attrs) (-> attrs :frame-id uuid))
:axis (-> attrs :axis keyword)
:position (-> attrs :position d/parse-double)}])))
:position (-> attrs :position d/parse-double)}]))
(defn parse-guides [node]
(let [guides-node (get-data node :penpot:guides)]