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
(mf/use-fn
(mf/deps refocus?)
(fn []
(when refocus?
(swap! state* dissoc :refocus?))