|
|
@@ -364,7 +364,7 @@ const AddNewTripScreen = ({ route }: { route: any }) => {
|
|
|
};
|
|
|
});
|
|
|
|
|
|
- if (regionsData.length >= 30) {
|
|
|
+ if (regionsData.length > 30) {
|
|
|
Alert.alert('One trip cannot have more than 30 regions.');
|
|
|
setIsLoading(null);
|
|
|
return;
|
|
|
@@ -412,7 +412,7 @@ const AddNewTripScreen = ({ route }: { route: any }) => {
|
|
|
};
|
|
|
});
|
|
|
|
|
|
- if (regionsData.length >= 30) {
|
|
|
+ if (regionsData.length > 30) {
|
|
|
Alert.alert('One trip cannot have more than 30 regions.');
|
|
|
setIsLoading(null);
|
|
|
return;
|