0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 11:59:17 -05:00

Fix refocus prop not being removed

This commit is contained in:
Florian Schroedl 2024-05-22 16:35:44 +02:00
parent 5bccfa9e2f
commit b1379ed7de

View file

@ -167,6 +167,7 @@
handle-focus handle-focus
(mf/use-fn (mf/use-fn
(mf/deps refocus?)
(fn [] (fn []
(when refocus? (when refocus?
(swap! state* dissoc :refocus?)) (swap! state* dissoc :refocus?))