@@ -198,6 +198,9 @@ const CreateSharedTripScreen = ({ route }: { route: any }) => {
if (regions.length === 0) {
return;
}
+ if (photos.length > 0 && !values.photo) {
+ return;
+ }
setIsSubmitting(true);
const regionsToSave = regions.map((region) => region.id);