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 ( - +