Fix glitch local settings navigation items not being proper buttons (#2320)
This commit is contained in:
@@ -58,16 +58,14 @@ export default class LocalSettingsPage extends PureComponent {
|
||||
</a>
|
||||
);
|
||||
else if (onNavigate) return (
|
||||
<a
|
||||
<button
|
||||
onClick={handleClick}
|
||||
role='button'
|
||||
tabIndex={0}
|
||||
className={finalClassName}
|
||||
title={title}
|
||||
aria-label={title}
|
||||
>
|
||||
{iconElem} <span>{title}</span>
|
||||
</a>
|
||||
</button>
|
||||
);
|
||||
else return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user