mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 20:49:37 +00:00
Merge pull request #4407 from penpot/alotor-bugfix-41
🐛 Fix problem with colorpicker
This commit is contained in:
commit
dd4b5f3eb6
@ -118,12 +118,9 @@
|
|||||||
|
|
||||||
on-change-tab
|
on-change-tab
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(fn [event]
|
(fn [tab]
|
||||||
(let [tab (-> (dom/get-current-target event)
|
(reset! active-color-tab tab)
|
||||||
(dom/get-data "tab")
|
(dc/set-active-color-tab! tab)))
|
||||||
(keyword))]
|
|
||||||
(reset! active-color-tab tab)
|
|
||||||
(dc/set-active-color-tab! tab))))
|
|
||||||
|
|
||||||
handle-change-mode
|
handle-change-mode
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user