From 8db6f436120752793957c85a020c63f6dcc1d961 Mon Sep 17 00:00:00 2001 From: Jose Buitron Date: Tue, 7 Nov 2023 12:12:34 -0500 Subject: [PATCH] Update src/collaboration/components/MembershipCard.js Co-authored-by: Paul Schreiber --- src/collaboration/components/MembershipCard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/collaboration/components/MembershipCard.js b/src/collaboration/components/MembershipCard.js index 5eff450a40..96c86a54b6 100644 --- a/src/collaboration/components/MembershipCard.js +++ b/src/collaboration/components/MembershipCard.js @@ -67,8 +67,7 @@ const Content = props => { } const pendingRequest = - accountMembership && - accountMembership.membershipStatus === MEMBERSHIP_STATUS_PENDING; + accountMembership?.membershipStatus === MEMBERSHIP_STATUS_PENDING; const closedGroup = membershipsInfo?.membershipType === MEMBERSHIP_TYPE_CLOSED;