Skip to content

Commit

Permalink
disable no self assign
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesray committed May 24, 2024
1 parent 1b94eff commit 6ab0b87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/html/src/components/BaseButton/BaseButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const BaseButtonTemplate = ({
if (cssClass) computedClass += ' ' + cssClass
if (iconOnly) {
computedClass += ' -icon-only'
// eslint-disable-next-line no-self-assign
ariaLabel ? (ariaLabel = ariaLabel) : (ariaLabel = label)
label = ''
}
Expand Down

0 comments on commit 6ab0b87

Please sign in to comment.