Przeglądaj źródła

fix: async-storage user uid

Oleksandr Honcharov 1 rok temu
rodzic
commit
5611db67b2
1 zmienionych plików z 1 dodań i 1 usunięć
  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