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 ba32c17eb..f1e1c7a7d 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -128,11 +128,9 @@ (reset! tokens-state resolved-tokens)))))))) @tokens-state)) -(defn use-resolved-workspace-tokens - ([] (use-resolved-tokens nil)) - ([options] - (-> (mf/deref refs/workspace-tokens) - (use-resolved-tokens options)))) +(defn use-resolved-workspace-tokens [& {:as config}] + (-> (mf/deref refs/workspace-tokens) + (use-resolved-tokens config))) ;; Testing ---------------------------------------------------------------------