Преглед на файлове

fix: async-storage user uid

Oleksandr Honcharov преди 1 година
родител
ревизия
5611db67b2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/screens/RegisterScreen/EditAccount/index.tsx

+ 1 - 1
src/screens/RegisterScreen/EditAccount/index.tsx

@@ -19,7 +19,7 @@ const SignUpSchema = yup.object({
   last_name: yup.string().required(),
   date_of_birth: yup.string().required(),
   homebase: yup.number().required(),
-  homebase2: yup.number().notRequired()
+  homebase2: yup.number().optional()
 });
 
 //TODO: formik avatar | date and flatlist error shown