Browse Source

fix: async-storage user uid

Oleksandr Honcharov 1 year ago
parent
commit
5611db67b2
1 changed files with 1 additions and 1 deletions
  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