Skip to content

Commit

Permalink
Update comment for shouldShowThreeDotsButton
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenjaHorbach committed Feb 5, 2024
1 parent 111c1a2 commit 9070dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepWaypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function IOURequestStepWaypoint({

const locationBias = useLocationBias(allWaypoints, userLocation);
const waypointAddress = lodashGet(currentWaypoint, 'address', '');
// Hide the menu when there is only start and finish waypoint and the current waypoint is not empty
// Hide the menu when there is only start and finish waypoint or the current waypoint is empty
const shouldShowThreeDotsButton = waypointCount > 2 && waypointAddress;
const shouldDisableEditor =
isFocused &&
Expand Down

0 comments on commit 9070dc4

Please sign in to comment.