fix: Wrap AlertTriangle with span for title in tld-pricing

This commit is contained in:
2025-12-10 20:27:05 +01:00
parent 92b11943a6
commit d82a58417e

View File

@ -714,7 +714,9 @@ export default function TldDetailPage() {
${details.min_renewal_price.toFixed(2)}
</p>
{renewalInfo?.isTrap && (
<AlertTriangle className="w-4 h-4 text-amber-400" title={`Renewal trap: ${renewalInfo.ratio.toFixed(1)}x registration`} />
<span title={`Renewal trap: ${renewalInfo.ratio.toFixed(1)}x registration`}>
<AlertTriangle className="w-4 h-4 text-amber-400" />
</span>
)}
</div>
) : (