fix aria-label for custom button

release
Erin Hinson 2021-01-20 15:48:35 -07:00 committed by mashirozx
parent 612dae7b08
commit ca6a7fd74b
1 changed files with 3 additions and 3 deletions

View File

@ -41,9 +41,9 @@ export default class Anchors extends React.PureComponent {
return (
<button
key={id}
aria-label={i18n.categories[id]}
title={i18n.categories[id]}
key={iconId}
aria-label={i18n.categories[iconId]}
title={i18n.categories[iconId]}
data-index={i}
type={'button'}
onClick={this.handleClick}