Remove unnecessary nested span

This commit is contained in:
Willian Mitsuda 2021-10-30 22:00:03 -03:00
parent 8341c274f6
commit 119cb67b00

View File

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