0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

🐛 Fix hide rulers option not working

This commit is contained in:
Alejandro Alonso 2023-06-23 08:56:27 +02:00 committed by Andrey Antukh
parent 921ea61e6c
commit c988d54925

View file

@ -465,8 +465,8 @@
toggle-flag
(mf/use-fn
(fn [event]
(let [flag (-> (dom/get-target event)
(dom/get-data :flag)
(let [flag (-> (dom/get-current-target event)
(dom/get-data "flag")
(keyword))]
(st/emit!
(-> (dw/toggle-layout-flag flag)