Skip to content

Commit

Permalink
change company to companyCountryData
Browse files Browse the repository at this point in the history
  • Loading branch information
lero62 committed Sep 20, 2024
1 parent 33d83d0 commit 6b21b97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ const prepareSpeakers = (speakers, tagColors, labelColors, isCommonSpeakers) =>
})
.map(async ({ bio, speaker, avatar, activities, ...item }) => ({
...item,
company: [item.company, item.country].filter(Boolean).join(', '),
companyCountryData: [item.company, item.country]
.filter(Boolean)
.join(', '),
avatar: avatar.url,
bio: await markdownToHtml(bio),
socials: getSocials(item),
Expand Down

0 comments on commit 6b21b97

Please sign in to comment.