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:
parent
921ea61e6c
commit
c988d54925
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue