mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Fix resolved value not showing up when editing token
This commit is contained in:
parent
b2962b5603
commit
6be2ca8491
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ Token names should only contain letters and digits separated by . characters.")}
|
|||
|
||||
;; Value
|
||||
value-ref (mf/use-var (:value token))
|
||||
token-resolve-result (mf/use-state (get-in tokens [(:id token) :resolved-value]))
|
||||
token-resolve-result (mf/use-state (get-in resolved-tokens [(wtt/token-identifier token) :resolved-value]))
|
||||
set-resolve-value (mf/use-callback
|
||||
(fn [token-or-err]
|
||||
(let [v (cond
|
||||
|
|
Loading…
Add table
Reference in a new issue