From 43d4acc94bae459b230420fec94a580dde22aa51 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 15 Mar 2022 11:27:12 +0100 Subject: [PATCH] :bug: Fix linter issue --- frontend/src/app/util/import/parser.cljs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/util/import/parser.cljs b/frontend/src/app/util/import/parser.cljs index 347e10fc0..71d3946b7 100644 --- a/frontend/src/app/util/import/parser.cljs +++ b/frontend/src/app/util/import/parser.cljs @@ -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)] - [id - {:id id - :frame-id (when (:frame-id attrs) (-> attrs :frame-id uuid)) - :axis (-> attrs :axis keyword) - :position (-> attrs :position d/parse-double)}]))) + (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)}])) (defn parse-guides [node] (let [guides-node (get-data node :penpot:guides)]