Take tokens as ref

This commit is contained in:
Florian Schroedl 2024-05-15 17:43:49 +02:00
parent 8f852bf48f
commit 622843f18d
2 changed files with 16 additions and 12 deletions

View file

@ -230,6 +230,12 @@
(def workspace-data
(l/derived :workspace-data st/state))
(def workspace-tokens
(l/derived (fn [data]
(get data :tokens []))
workspace-data
=))
(def workspace-file-colors
(l/derived (fn [data]
(when data