mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-13 22:37:14 +10:00
fix: remove empty keywords spacing in interests items (#2631)
Only render keywords fields when they contain values
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user