0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-17 10:11:22 -05:00

🐛 Fix problem activating feature

This commit is contained in:
alonso.torres 2024-04-24 10:25:47 +02:00
parent 3eabab7fc7
commit 6fbdc4ff07

View file

@ -26,8 +26,7 @@
(clj->js (features/get-team-enabled-features @st/state)))
(defn ^:export plugins []
(when (not (features/active-feature? @st/state "plugins/runtime"))
(plugins/init!))
(tm/schedule-on-idle #(st/emit! (features/toggle-feature "plugins/runtime")))
(st/emit! (features/enable-feature "plugins/runtime"))
(plugins/init!)
nil)