From 03965147cadeed0489deaa11cde59c6b31db9a33 Mon Sep 17 00:00:00 2001 From: Sephi Nahmias <24208414+sephina@users.noreply.github.com> Date: Thu, 16 May 2024 16:23:14 +0300 Subject: [PATCH] dont set negative passengers --- examples/client/Locomotion/src/context/newRideContext/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client/Locomotion/src/context/newRideContext/index.tsx b/examples/client/Locomotion/src/context/newRideContext/index.tsx index fa342e414..4d6ae424c 100644 --- a/examples/client/Locomotion/src/context/newRideContext/index.tsx +++ b/examples/client/Locomotion/src/context/newRideContext/index.tsx @@ -612,7 +612,7 @@ const RidePageContextProvider = ({ children }: { }, [businessAccountId]); useEffect(() => { - setNumberOfPassengers(-1); + setNumberOfPassengers(1); }, [chosenService]); useEffect(() => {