From 62ca665d55ac82201ae1e3609dc72b4df9cff39e Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Fri, 24 Jan 2025 12:18:38 +0100 Subject: [PATCH] :bug: Fix tokens not being editable --- frontend/src/app/main/ui/workspace/tokens/form.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/form.cljs b/frontend/src/app/main/ui/workspace/tokens/form.cljs index a7f571e4a..16bb899f8 100644 --- a/frontend/src/app/main/ui/workspace/tokens/form.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/form.cljs @@ -352,7 +352,7 @@ on-submit (mf/use-fn - (mf/deps validate-name validate-descripion token resolved-tokens) + (mf/deps validate-name validate-descripion token active-theme-tokens) (fn [e] (dom/prevent-default e) (mf/set-ref-val! cancel-ref nil) @@ -370,7 +370,7 @@ (validate-token-value+ {:value final-value :name-value final-name :token token - :tokens resolved-tokens})]) + :tokens active-theme-tokens})]) (p/finally (fn [result err] ;; The result should be a vector of all resolved validations ;; We do not handle the error case as it will be handled by the components validations