From 8244ec33ac69ff24bf47363cabe9c00eafb9ada2 Mon Sep 17 00:00:00 2001 From: Denis Stebunov Date: Sat, 2 Mar 2024 20:12:42 +0200 Subject: [PATCH] UXForm: remove unnecessary required field --- src/components/UXForm.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/UXForm.jsx b/src/components/UXForm.jsx index a6655f3..3271d03 100644 --- a/src/components/UXForm.jsx +++ b/src/components/UXForm.jsx @@ -20,8 +20,6 @@ const getFormSchema = (experienceTypes) => { const dataShape = { ...baseDataShape, experienceOverall: yup.number().typeError(numberTypeErr).required().min(0), - specializedExperience: - yup.number().typeError(numberTypeErr).required().min(0), portfolio: yup.string().required(), }; const schema = yup.object().shape(dataShape);