From 7a2a521075f5184a3605c0253b840189333abd8f Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Thu, 22 Aug 2024 10:54:41 +0200 Subject: [PATCH] Allow passing config --- .../src/app/main/ui/workspace/tokens/style_dictionary.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs index 5ee4a3b9a..62b068a32 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -136,5 +136,6 @@ (defn use-active-theme-sets-tokens [& {:as config}] (-> (mf/deref refs/workspace-active-theme-sets-tokens) - (use-resolved-tokens {:cache-atom !theme-tokens-cache - :names-map? true}))) + (use-resolved-tokens (merge {:cache-atom !theme-tokens-cache + :names-map? true} + config))))