From 293250a30d86a67415d2d3b133cd296a1edc3aff Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Mon, 26 Aug 2024 16:35:49 +0200 Subject: [PATCH] Rename --- .../main/ui/workspace/tokens/theme_select.cljs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/theme_select.cljs b/frontend/src/app/main/ui/workspace/tokens/theme_select.cljs index f297538be7..0f0cc2a4e4 100644 --- a/frontend/src/app/main/ui/workspace/tokens/theme_select.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/theme_select.cljs @@ -17,7 +17,7 @@ [app.util.dom :as dom] [rumext.v2 :as mf])) -(mf/defc list-items +(mf/defc themes-list [{:keys [themes active-theme-ids on-close grouped?]}] (when (seq themes) [:ul @@ -42,17 +42,17 @@ grouped-themes (dissoc ordered-themes nil) ungrouped-themes (get ordered-themes nil)] [:ul - [:& list-items {:themes ungrouped-themes - :active-theme-ids active-theme-ids - :on-close on-close}] + [:& themes-list {:themes ungrouped-themes + :active-theme-ids active-theme-ids + :on-close on-close}] (for [[group themes] grouped-themes] [:li {:key group} (when group [:span {:class (stl/css :group)} group]) - [:& list-items {:themes themes - :active-theme-ids active-theme-ids - :on-close on-close - :grouped? true}]]) + [:& themes-list {:themes themes + :active-theme-ids active-theme-ids + :on-close on-close + :grouped? true}]]) [:li {:class (stl/css-case :checked-element true :checked-element-button true) :on-click #(modal/show! :tokens/themes {})}