0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 22:22:43 -05:00

Fix creating a token issue on empty document

This commit is contained in:
Florian Schroedl 2024-06-27 16:07:47 +02:00
parent bd5a0d2d1b
commit b2a983fd05

View file

@ -232,7 +232,7 @@
(def workspace-tokens (def workspace-tokens
(l/derived (fn [data] (l/derived (fn [data]
(get data :tokens [])) (get data :tokens {}))
workspace-data workspace-data
=)) =))