Skip to content

Commit

Permalink
fix: remove deduplication by pattern id
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Jun 13, 2024
1 parent 8658d04 commit 483b55e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/component/StopsNearYouMapContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ const containerComponent = createPaginationContainer(
lon
name
patterns {
id
route {
gtfsId
shortName
Expand All @@ -92,7 +91,6 @@ const containerComponent = createPaginationContainer(
}
stops {
patterns {
id
route {
gtfsId
shortName
Expand Down
1 change: 0 additions & 1 deletion app/component/map/StopsNearYouMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ function StopsNearYouMap(
});
});
});
patterns = uniqBy(patterns, p => p.id);
patterns = uniqBy(patterns, p => p.patternGeometry?.points || '');
const lines = patterns
.filter(p => p.patternGeometry)
Expand Down

0 comments on commit 483b55e

Please sign in to comment.