Skip to content

Commit

Permalink
Merge pull request #88 from mbta/pwd-direction_not_destination
Browse files Browse the repository at this point in the history
Correct copy
  • Loading branch information
phildarnowsky authored Jul 9, 2019
2 parents 6c5b085 + c39accb commit 7cefd1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ const ErrorMessage = ({
return null;
}

let message = "an origin and destination";
let message = "an origin and direction";
if (!directionError && originError) {
message = "an origin";
}
if (directionError && !originError) {
message = "a destination";
message = "a direction";
}

return (
Expand Down

0 comments on commit 7cefd1f

Please sign in to comment.