From a2086bad0827a99f60be47616dd697a9c73336af Mon Sep 17 00:00:00 2001 From: Luca Tagliabue <32895300+lucataglia@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:35:54 +0100 Subject: [PATCH] fix: add message (#214) Co-authored-by: Luca Tagliabue --- .../components/modals/add-new-model/step-one/form-fields.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/modals/add-new-model/step-one/form-fields.jsx b/ui/src/components/modals/add-new-model/step-one/form-fields.jsx index 4266fc42..b3131471 100644 --- a/ui/src/components/modals/add-new-model/step-one/form-fields.jsx +++ b/ui/src/components/modals/add-new-model/step-one/form-fields.jsx @@ -40,7 +40,7 @@ function Name() { function ModelType() { const { useFormbit } = useModalContext(); - const { form, write } = useFormbit; + const { form, write, error } = useFormbit; const handleOnChange = (value) => { write('modelType', value); @@ -54,7 +54,7 @@ function ModelType() { ]; return ( - +