import html from '../utils/html.js' export default function Interests(interests = []) { return interests.length > 0 && html` Interests ${interests.map(({ keywords = [], name }) => html` ${name && html`${name}`} ${keywords.length > 0 && html` ${keywords.map(keyword => html`${keyword}`)} `} `)} ` }