diff --git a/src/components/molecules/CommunityMembers.tsx b/src/components/molecules/CommunityMembers.tsx index 78b7699..853f71a 100644 --- a/src/components/molecules/CommunityMembers.tsx +++ b/src/components/molecules/CommunityMembers.tsx @@ -186,10 +186,10 @@ export default function CommunityMembers({ >
- {getNameTag(member.user.name)} + {getNameTag(member?.user?.name)}
-

{member.user.name}

+

{member?.user?.name}

{member.role}

@@ -215,6 +215,7 @@ export default function CommunityMembers({ } const getNameTag = (name: string) => { + if (!name) return 'ANON' const split = name?.split(" "); return (split[0]?.[0] ?? "") + (split?.[1]?.[0] ?? ""); };