Skip to content

Commit

Permalink
Remove redundant title attribute (mastodon#32258)
Browse files Browse the repository at this point in the history
  • Loading branch information
c960657 authored Oct 4, 2024
1 parent 51769e0 commit c40ab43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ const ColumnLink = ({ icon, activeIcon, iconComponent, activeIconComponent, text

if (href) {
return (
<a href={href} className={className} data-method={method} title={text} {...other}>
<a href={href} className={className} data-method={method} {...other}>
{active ? activeIconElement : iconElement}
<span>{text}</span>
{badgeElement}
</a>
);
} else {
return (
<NavLink to={to} className={className} title={text} exact {...other}>
<NavLink to={to} className={className} exact {...other}>
{active ? activeIconElement : iconElement}
<span>{text}</span>
{badgeElement}
Expand Down

0 comments on commit c40ab43

Please sign in to comment.