diff --git a/src/pages/common/components/CommonTabPanels/components/AboutTab/components/CommonEntranceInfo/components/CommonEntranceJoin/CommonEntranceJoin.tsx b/src/pages/common/components/CommonTabPanels/components/AboutTab/components/CommonEntranceInfo/components/CommonEntranceJoin/CommonEntranceJoin.tsx index 7415a9e920..c823fa7709 100644 --- a/src/pages/common/components/CommonTabPanels/components/AboutTab/components/CommonEntranceInfo/components/CommonEntranceJoin/CommonEntranceJoin.tsx +++ b/src/pages/common/components/CommonTabPanels/components/AboutTab/components/CommonEntranceInfo/components/CommonEntranceJoin/CommonEntranceJoin.tsx @@ -14,7 +14,7 @@ interface CommonEntranceJoinProps { } const CommonEntranceJoin: FC = (props) => { - const { withJoinRequest = false, common, isProject } = props; + const { common, isProject } = props; const history = useHistory(); const { parentCommon, diff --git a/src/pages/common/providers/CommonData/CommonData.tsx b/src/pages/common/providers/CommonData/CommonData.tsx index 03035d23b9..4f6f99cafc 100644 --- a/src/pages/common/providers/CommonData/CommonData.tsx +++ b/src/pages/common/providers/CommonData/CommonData.tsx @@ -123,7 +123,7 @@ const CommonData: FC = (props) => { isGlobalDataFetched && !isJoinPending && ((!isProject && !commonMember) || - (isProject && parentCommonMember && !commonMember)), + (isProject && rootCommonMember && parentCommonMember && !commonMember)), ); const handleMenuItemSelect = useCallback(