fix: remove empty keywords spacing in interests items (#2631)

Only render keywords fields when they contain values
This commit is contained in:
Tom
2026-01-28 21:06:12 +01:00
committed by GitHub
parent 5f578c3327
commit 3cb0fc9f30
@@ -16,9 +16,11 @@ export function InterestsItem({ className, ...item }: InterestsItemProps) {
</div>
{/* Keywords */}
<span className="section-item-keywords interests-item-keywords inline-block opacity-80">
{item.keywords.join(", ")}
</span>
{item.keywords.length > 0 && (
<span className="section-item-keywords interests-item-keywords inline-block opacity-80">
{item.keywords.join(", ")}
</span>
)}
</div>
);
}