0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 20:09:04 -05:00
This commit is contained in:
Florian Schroedl 2024-10-02 14:21:18 +02:00
parent 306a5e5f85
commit 2b6075d1a2

View file

@ -155,9 +155,7 @@
ptk/WatchEvent ptk/WatchEvent
(watch [it state _] (watch [it state _]
(let [changes (-> (pcb/empty-changes it) (let [changes (-> (pcb/empty-changes it)
(pcb/add-token-set new-token-set) (pcb/add-token-set new-token-set))]
#_(ensure-token-theme-changes state {:id (:id new-token-set)
:new-set? true}))]
(rx/of (rx/of
(set-selected-token-set-id (:name new-token-set)) (set-selected-token-set-id (:name new-token-set))
(dch/commit-changes changes))))))) (dch/commit-changes changes)))))))