Skip to content

Commit

Permalink
remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
snowystinger committed Sep 25, 2024
1 parent 73a868c commit 05fe52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-aria/test-utils/src/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export class MenuTester {
}

get menu() {
let menuId = (this.trigger!).getAttribute('aria-controls');
let menuId = this.trigger.getAttribute('aria-controls');
return menuId ? document.getElementById(menuId) : undefined;
}

Expand Down

0 comments on commit 05fe52b

Please sign in to comment.