diff --git a/frontend/src/app/main/data/style_dictionary.cljs b/frontend/src/app/main/data/style_dictionary.cljs index 446e130bdb..ba1f2dd67f 100644 --- a/frontend/src/app/main/data/style_dictionary.cljs +++ b/frontend/src/app/main/data/style_dictionary.cljs @@ -557,7 +557,8 @@ (.. sd-token -original -name)) (defn sd-token-uuid [^js sd-token] - (uuid (.-uuid (.. sd-token -original -id)))) + (when-let [id (.. sd-token -original -id)] + (uuid (.-uuid id)))) (defn- merge-name-collisions "Re-attach tokens that `ctob/tokens-tree` / `backtrace-tokens-tree`