🐛 Fix features activation by devtools console

This commit is contained in:
Andrés Moya 2023-04-12 16:14:36 +02:00
parent aaca901fd9
commit 271b83de2e
2 changed files with 8 additions and 3 deletions

View file

@ -10,5 +10,9 @@
[app.main.features :as features]))
(defn ^:export components-v2 []
(features/toggle-feature! :components-v2))
(features/toggle-feature! :components-v2)
nil)
(defn ^:export is-components-v2 []
(let [active? (features/active-feature :components-v2)]
@active?))