From 3001dc5ba8b299a1d6f72150d662a0bc559bbd6f Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Mon, 30 Oct 2023 18:59:42 -0400 Subject: [PATCH] fix: App crashes in some commons when trying to load members --- .../MembersComponent/CommonMemberComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/OldCommon/components/CommonDetailContainer/MembersComponent/CommonMemberComponent.tsx b/src/pages/OldCommon/components/CommonDetailContainer/MembersComponent/CommonMemberComponent.tsx index 4f9a7c2e70..187ebf544d 100644 --- a/src/pages/OldCommon/components/CommonDetailContainer/MembersComponent/CommonMemberComponent.tsx +++ b/src/pages/OldCommon/components/CommonDetailContainer/MembersComponent/CommonMemberComponent.tsx @@ -79,7 +79,7 @@ const CommonMember: FC = ({ circlesWithHighestTier[circlesWithHighestTier.length - 1]; governanceCircles.forEach((circle) => { - if (!highestMemberCircle.hierarchy) { + if (!highestMemberCircle?.hierarchy) { return; } if (!circle.hierarchy) {