From 9149772ce9695a9f5ccb974b79dce489c9802050 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 11 Jan 2024 15:23:42 +0100 Subject: [PATCH] :bug: Add missing mf/deps on form component --- frontend/src/app/main/ui/components/forms.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/main/ui/components/forms.cljs b/frontend/src/app/main/ui/components/forms.cljs index 07ce76ed70..2872064005 100644 --- a/frontend/src/app/main/ui/components/forms.cljs +++ b/frontend/src/app/main/ui/components/forms.cljs @@ -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)