Skip to content

Commit

Permalink
Fix stuff for CI build/check
Browse files Browse the repository at this point in the history
  • Loading branch information
raissaji committed Nov 16, 2024
1 parent 738b069 commit 17b4ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/RequestRideModal/RequestRideInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ const RequestRideInfo: React.FC<RequestRideInfoProps> = ({
useEffect(() => {
if (ride) {
const defaultStart =
ride.startLocation.tag === 'custom'
ride.startLocation.tag === 'Custom'
? 'Other'
: ride.startLocation.id ?? '';
const defaultEnd =
ride.endLocation.tag === 'custom' ? 'Other' : ride.endLocation.id ?? '';
ride.endLocation.tag === 'Custom' ? 'Other' : ride.endLocation.id ?? '';
setValue('startLocation', defaultStart);
setValue('endLocation', defaultEnd);
}
Expand Down

0 comments on commit 17b4ba8

Please sign in to comment.