mirror of
https://github.com/penpot/penpot.git
synced 2026-03-10 20:26:30 +00:00
🚧 Use use-fn
This commit is contained in:
@@ -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?))
|
||||
|
||||
Reference in New Issue
Block a user