mirror of
https://github.com/penpot/penpot.git
synced 2025-03-23 05:01:23 -05:00
🐛 Fix tokens not being editable
This commit is contained in:
parent
ef61f9c7aa
commit
62ca665d55
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue