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:
parent
7a253dc9e4
commit
43d4acc94b
1 changed files with 7 additions and 7 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Reference in a new issue