mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
🐛 Refresh double click handler of token set groups
Add the start edition callback to the hook deps so the handler does not keep the initial closure. AI-assisted-by: deepseek-v4.1-flash
This commit is contained in:
parent
9fc23d13ce
commit
43914f58fe
@ -141,7 +141,9 @@
|
||||
(on-toggle-collapse path)))
|
||||
|
||||
on-double-click
|
||||
(mf/use-fn (mf/deps id) #(on-start-edition id))
|
||||
(mf/use-fn
|
||||
(mf/deps id on-start-edition)
|
||||
#(on-start-edition id))
|
||||
|
||||
on-checkbox-click
|
||||
(mf/use-fn
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user