MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / resetTripStatus

Function resetTripStatus

web/src/hooks/useDriverStreamConnection.ts:99–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 };
98
99 const resetTripStatus = () => {
100 setTripStatus(null);
101 setRequestedTrip(null);
102 }
103
104 return { error, tripStatus, driver, requestedTrip, resetTripStatus, sendMessage, setTripStatus };
105}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected