浏览代码

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