0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 14:12:36 -05:00

Remove double cljs conversion

This commit is contained in:
Florian Schroedl 2024-06-19 11:18:41 +02:00
parent 0a73c3aa95
commit f169d49397

View file

@ -77,7 +77,6 @@
(defn resolve-tokens+ (defn resolve-tokens+
[tokens & {:keys [debug?] :as config}] [tokens & {:keys [debug?] :as config}]
(p/let [sd-tokens (-> (tokens-name-map tokens) (p/let [sd-tokens (-> (tokens-name-map tokens)
(clj->js)
(resolve-sd-tokens+ config))] (resolve-sd-tokens+ config))]
(let [resolved-tokens (reduce (let [resolved-tokens (reduce
(fn [acc ^js cur] (fn [acc ^js cur]