Skip to content

Commit

Permalink
Do we need the ? yet if it's not in TS
Browse files Browse the repository at this point in the history
  • Loading branch information
MelSumner committed Jul 30, 2024
1 parent 3cf3ea5 commit ffd9b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/navigation-narrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class NavigationNarratorComponent extends Component {
*/
get hasQueryParams() {
if (
Object.keys(this.transition.from?.queryParams || {}).length ||
Object.keys(this.transition.from.queryParams || {}).length ||
Object.keys(this.transition.to.queryParams).length > 0
) {
return true;
Expand Down

0 comments on commit ffd9b69

Please sign in to comment.