Skip to content

Commit ac1c65d

Browse files
authoredMay 21, 2024
Merge pull request #825 from Autofleet/aut-19879-negative-passengers
dont set negative passengers
2 parents d11b357 + 0396514 commit ac1c65d

File tree

1 file changed

+1
-1
lines changed
  • examples/client/Locomotion/src/context/newRideContext

1 file changed

+1
-1
lines changed
 

‎examples/client/Locomotion/src/context/newRideContext/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ const RidePageContextProvider = ({ children }: {
612612
}, [businessAccountId]);
613613

614614
useEffect(() => {
615-
setNumberOfPassengers(-1);
615+
setNumberOfPassengers(1);
616616
}, [chosenService]);
617617

618618
useEffect(() => {

0 commit comments

Comments
 (0)
Please sign in to comment.