Browse Source

small fix

Daniel Zagrodzki 4 days ago
parent
commit
cf30c9210f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/screens/InAppScreens/TravelsScreen/CreateSharedTrip/index.tsx

+ 1 - 1
src/screens/InAppScreens/TravelsScreen/CreateSharedTrip/index.tsx

@@ -48,7 +48,7 @@ const EventSchema = yup.object({
   start_date: yup.date().nullable().required(),
   end_date: yup.date().nullable().required(),
   tentative: yup.number().optional(),
-  photo: yup.number().nullable().optional(),
+  photo: yup.number().nullable().required(),
   details: yup.string().required()
 });