From b5422f2ed4e8434fb5012b93145c9fa23aafa7c2 Mon Sep 17 00:00:00 2001 From: Julian Weng Date: Mon, 29 Jan 2024 22:52:17 -0500 Subject: [PATCH] Remove member check from request membership and apply buttons to display proper status of request. --- frontend/components/ClubPage/Actions.tsx | 26 ++++++++++-------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/frontend/components/ClubPage/Actions.tsx b/frontend/components/ClubPage/Actions.tsx index 46938f5e0..4e43a59dd 100644 --- a/frontend/components/ClubPage/Actions.tsx +++ b/frontend/components/ClubPage/Actions.tsx @@ -284,7 +284,6 @@ const Actions = ({
{SHOW_MEMBERSHIP_REQUEST && - !inClub && club.members.length > 0 && isMembershipOpen && club.accepting_members && ( @@ -293,20 +292,17 @@ const Actions = ({ updateRequests={updateRequests} /> )} - {SHOW_APPLICATIONS && - !inClub && - !isMembershipOpen && - club.accepting_members && ( - - - Apply - - - )} + {SHOW_APPLICATIONS && !isMembershipOpen && club.accepting_members && ( + + + Apply + + + )} {canEdit && (