visortelle commented on code in PR #858:
URL: https://github.com/apache/pulsar-site/pull/858#discussion_r1530260375
##########
src/components/pages/CommunityPage/CommunityPage.tsx:
##########
@@ -45,6 +45,27 @@ export default function CommunityPage(): JSX.Element {
teamCtrsSets[CountTheSets].push(element);
});
+ function MemberCard({ member, index }) {
+ const githubUsername = member.githubUsername &&
member.githubUsername.length > 0 ? member.githubUsername[0] : member.apacheId;
Review Comment:
```suggestion
const githubUsername = member.githubUsername?.[0] || member.apacheId;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]