Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#26236: Fix StopPosterA3 generating error #391

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/a3Timetable/a3Timetable.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class Timetable extends Component {
</span>
</div>
</div>
<SimpleRoutes stopIds={[this.props.stopId]} date={this.props.date} />
<SimpleRoutes stopId={this.props.stopId} date={this.props.date} />
</React.Fragment>
)}

Expand Down
2 changes: 1 addition & 1 deletion src/components/a3stopPoster/a3header.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class A3Header extends Component {
{this.state.simpleRoutes && !this.state.hideDestinations && (
<SimpleRoutes
printAsA3
stopIds={[this.props.variables.stopId]}
stopId={this.props.variables.stopId}
date={this.props.variables.date}
/>
)}
Expand Down