Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Sep 26, 2023
1 parent 19e4ba9 commit 3ecb9f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils/get-role.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ function getRole(context, node) {
const explicitRole = getLiteralPropValue(getProp(node.attributes, 'role'))
if (explicitRole) {
return explicitRole
} else if (getProp(node.attributes, 'role')) { // If role is set to anything other than a literal prop
} else if (getProp(node.attributes, 'role')) {
// If role is set to anything other than a literal prop
return undefined
}

Expand Down

0 comments on commit 3ecb9f1

Please sign in to comment.