From 05ea874f796f70dec9de1dcda60169933da6146a Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Thu, 1 Oct 2026 11:42:36 +0200 Subject: [PATCH] :lipstick: Fix formatting in variant and library files Fix whitespace reported by check-fmt:clj in files/variant.cljc, logic/variant_properties.cljc and logic/libraries.cljc. AI-assisted-by: claude-opus-5-5 --- common/src/app/common/files/variant.cljc | 2 +- common/src/app/common/logic/libraries.cljc | 2 +- common/src/app/common/logic/variant_properties.cljc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/app/common/files/variant.cljc b/common/src/app/common/files/variant.cljc index 900ba94d4c..f43c5ecde5 100644 --- a/common/src/app/common/files/variant.cljc +++ b/common/src/app/common/files/variant.cljc @@ -80,7 +80,7 @@ [data component] (let [page-id (:main-instance-page component) objects (-> (dm/get-in data [:pages-index page-id]) - (get :objects))] + (get :objects))] (->> (get-variant-mains data component) peek (get objects)))) diff --git a/common/src/app/common/logic/libraries.cljc b/common/src/app/common/logic/libraries.cljc index 6ad899f0e2..b4d01e7a0d 100644 --- a/common/src/app/common/logic/libraries.cljc +++ b/common/src/app/common/logic/libraries.cljc @@ -321,7 +321,7 @@ (reduce #(pcb/add-object %1 %2 {:ignore-touched true}) changes (rest new-shapes)) - + ids-to-validate (cond-> [(:id first-shape)] grid-parent? (conj (:parent-id first-shape))) diff --git a/common/src/app/common/logic/variant_properties.cljc b/common/src/app/common/logic/variant_properties.cljc index fb168abec8..361611c807 100644 --- a/common/src/app/common/logic/variant_properties.cljc +++ b/common/src/app/common/logic/variant_properties.cljc @@ -41,7 +41,7 @@ {:apply-changes-local-library? true})) changes related-components) - + ids-to-validate (map :main-instance-id related-components) changes (pcb/validate-shapes changes