Skip to content

Commit

Permalink
fix(StopPage): stop throwing undefined error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Jul 9, 2024
1 parent e7eb1f4 commit 771f23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/ts/stop/components/StopPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const StopPage = ({
routesResult.errorData,
facilities.errorData
]
.filter(error => error === undefined)
.filter(error => error !== undefined)
.join(" ");
throw new Error(errorMessage);
}
Expand Down

0 comments on commit 771f23c

Please sign in to comment.