From b158a82a8474a343010082dd59ff971c4a57d4f9 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 5 Sep 2023 12:21:42 +0200 Subject: [PATCH] :lipstick: Fix indentation on page helpers --- common/src/app/common/pages/helpers.cljc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/app/common/pages/helpers.cljc b/common/src/app/common/pages/helpers.cljc index 96dd03c8f..42611a84a 100644 --- a/common/src/app/common/pages/helpers.cljc +++ b/common/src/app/common/pages/helpers.cljc @@ -538,8 +538,9 @@ ;; Implemented with transients for performance. 30~50% better (letfn [(process-shape [objects [id shape]] (let [frame-id (if (= :frame (:type shape)) id (:frame-id shape)) - cur (-> (or (get objects frame-id) (transient {})) - (assoc! id shape))] + cur (-> (or (get objects frame-id) + (transient {})) + (assoc! id shape))] (assoc! objects frame-id cur)))] (update-vals (->> objects