Remove unnecessary nested span

This commit is contained in:
Willian Mitsuda 2021-10-30 22:00:03 -03:00
parent 8341c274f6
commit 119cb67b00
1 changed files with 2 additions and 3 deletions

View File

@ -17,10 +17,9 @@ const AddressLink: React.FC<AddressLinkProps> = ({
dontOverrideColors ? "" : "text-link-blue hover:text-link-blue-hover" dontOverrideColors ? "" : "text-link-blue hover:text-link-blue-hover"
} font-address truncate`} } font-address truncate`}
to={`/address/${address}`} to={`/address/${address}`}
title={text ?? address}
> >
<span className="truncate" title={text ?? address}> {text ?? address}
{text ?? address}
</span>
</NavLink> </NavLink>
); );