mirror of
https://github.com/penpot/penpot.git
synced 2026-02-26 22:34:11 +00:00
🐛 Fix problem with colorpicker
This commit is contained in:
@@ -118,12 +118,9 @@
|
||||
|
||||
on-change-tab
|
||||
(mf/use-fn
|
||||
(fn [event]
|
||||
(let [tab (-> (dom/get-current-target event)
|
||||
(dom/get-data "tab")
|
||||
(keyword))]
|
||||
(reset! active-color-tab tab)
|
||||
(dc/set-active-color-tab! tab))))
|
||||
(fn [tab]
|
||||
(reset! active-color-tab tab)
|
||||
(dc/set-active-color-tab! tab)))
|
||||
|
||||
handle-change-mode
|
||||
(mf/use-fn
|
||||
|
||||
Reference in New Issue
Block a user