0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Fix validate script in frontend

This commit is contained in:
Andrés Moya 2023-11-07 17:39:34 +01:00
parent 64bb322de5
commit b7a61aba7c

View file

@ -402,9 +402,7 @@
(ptk/reify ::repair-current-file
ptk/WatchEvent
(watch [_ state _]
(let [features (cond-> #{}
(features/active-feature? state "components/v2")
(conj "components/v2"))
(let [features (features/get-team-enabled-features state)
sid (:session-id state)
file (get state :workspace-file)
file-data (get state :workspace-data)