Skip to content

Commit 79b8b0a

Browse files
committed
refactor: remove useless default
1 parent 686492c commit 79b8b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/role-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function getImplicitAriaRoles(currentNode) {
7575
}
7676

7777
function buildElementRoleList(elementRolesMap) {
78-
function makeElementSelector({name, attributes = []}) {
78+
function makeElementSelector({name, attributes}) {
7979
return `${name}${attributes
8080
.map(({name: attributeName, value, constraints = []}) => {
8181
const shouldNotExist = constraints.indexOf('undefined') !== -1

0 commit comments

Comments
 (0)