mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 21:59:10 +00:00
🐛 Add missing mf/deps on form component
This commit is contained in:
parent
6e39c26704
commit
9149772ce9
@ -327,6 +327,7 @@
|
||||
{::mf/wrap-props false}
|
||||
[{:keys [on-submit form children class]}]
|
||||
(let [on-submit' (mf/use-fn
|
||||
(mf/deps on-submit)
|
||||
(fn [event]
|
||||
(dom/prevent-default event)
|
||||
(when (fn? on-submit)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user