From deb3af23d4d2d7f9d08d8defaa141f2c3f61c45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Thu, 9 Apr 2026 10:33:56 +0200 Subject: [PATCH] :bug: Normalize token set names in themes (#8914) --- common/src/app/common/types/tokens_lib.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index af7fd6c9fd..ee692aaffc 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -723,7 +723,8 @@ (update :is-source d/nilv false) (update :external-id #(or % (str new-id))) (update :modified-at #(or % (ct/now))) - (update :sets #(into #{} (filter some?) %)) + (update :sets #(into #{} (comp (filter some?) + (map normalize-set-name)) %)) (check-token-theme-attrs) (map->TokenTheme))))