🚧 Use use-fn

This commit is contained in:
Florian Schroedl 2025-04-01 14:46:49 +02:00
parent 8df780b237
commit 215fb53c52

View file

@ -258,7 +258,7 @@
lib (make-lib-with-theme current-theme ordered-token-sets)
;; Form / Modal handlers
on-back #(set-state (constantly {:type :themes-overview}))
on-back (mf/use-fn #(set-state (constantly {:type :themes-overview})))
disabled? (-> (:name current-theme)
(str/trim)
(str/empty?))