🐛 Fix lost resolved value on tooltip (#6102)

This commit is contained in:
Eva Marco 2025-03-18 17:13:45 +01:00 committed by GitHub
parent 2e5138eddc
commit 17af55d3c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -266,6 +266,10 @@
(ctob/get-active-themes-set-tokens tokens-lib)
{}))
;; Resolve tokens as second step
active-theme-tokens'
(sd/use-resolved-tokens* active-theme-tokens)
;; This only checks for the currently explicitly selected set
;; name, it is ephimeral and can be nil
selected-token-set-name
@ -323,14 +327,14 @@
:is-open (get open-status type false)
:type type
:selected-shapes selected-shapes
:active-theme-tokens active-theme-tokens
:active-theme-tokens active-theme-tokens'
:tokens tokens}]))
(for [type empty-group]
[:> token-group* {:key (name type)
:type type
:selected-shapes selected-shapes
:active-theme-tokens active-theme-tokens
:active-theme-tokens active-theme-tokens'
:tokens []}])]))
(mf/defc import-export-button*