Skip to content

Commit

Permalink
missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jul 11, 2024
1 parent ff912af commit 514daf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepDistance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function IOURequestStepDistance({
const previousValidatedWaypoints = usePrevious(validatedWaypoints);
const haveValidatedWaypointsChanged = !isEqual(previousValidatedWaypoints, validatedWaypoints);
const isRouteAbsentWithoutErrors = !hasRoute && !hasRouteError;
const isEmptyCoordinates = !transaction?.routes?.route0?.geometry?.coordinates?.length
const isEmptyCoordinates = !transaction?.routes?.route0?.geometry?.coordinates?.length;
const shouldFetchRoute = (isEmptyCoordinates || isRouteAbsentWithoutErrors || haveValidatedWaypointsChanged) && !isLoadingRoute && Object.keys(validatedWaypoints).length > 1;
const [shouldShowAtLeastTwoDifferentWaypointsError, setShouldShowAtLeastTwoDifferentWaypointsError] = useState(false);
const nonEmptyWaypointsCount = useMemo(() => Object.keys(waypoints).filter((key) => !isEmpty(waypoints[key])).length, [waypoints]);
Expand Down

0 comments on commit 514daf8

Please sign in to comment.