fix: Another AlertTriangle title fix in tld-pricing

This commit is contained in:
2025-12-10 20:29:46 +01:00
parent d82a58417e
commit 156df8d519

View File

@ -1052,10 +1052,9 @@ export default function TldDetailPage() {
${registrar.renewal_price.toFixed(2)}
</span>
{hasRenewalTrap && (
<AlertTriangle
className="inline-block ml-1.5 w-3.5 h-3.5 text-amber-400 cursor-help"
title={`Renewal trap: ${(registrar.renewal_price / registrar.registration_price).toFixed(1)}x registration price`}
/>
<span title={`Renewal trap: ${(registrar.renewal_price / registrar.registration_price).toFixed(1)}x registration price`}>
<AlertTriangle className="inline-block ml-1.5 w-3.5 h-3.5 text-amber-400 cursor-help" />
</span>
)}
</td>
<td className="px-5 py-4 text-right hidden sm:table-cell">