Skip to content

Commit

Permalink
update join button text
Browse files Browse the repository at this point in the history
  • Loading branch information
budnik9 committed Sep 12, 2023
1 parent 6e6f57e commit 0a8bb23
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function EmptyTabComponent({
className="button-blue empty-tab-content-wrapper__button"
onClick={handleModalOpen}
>
Join the effort
Join
</button>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export default function ChatComponent({

return (
<span className={styles.permissionsText} onClick={onJoinCommon}>
{directParent ? "Join the space" : "Join the effort"}
Join
</span>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/common/components/CommonHeader/CommonHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const CommonHeader: FC<CommonHeaderProps> = (props) => {
details = [],
isProject = false,
withJoin = true,
joinButtonText = isProject ? "Join the space" : "Join the effort",
joinButtonText = "Join",
} = props;
const { isJoinAllowed, onJoinCommon } = useCommonDataContext();
const isTabletView = useIsTabletView();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const CommonEntranceJoin: FC<CommonEntranceJoinProps> = (props) => {
: onJoinCommon
}
>
Join the {isProject ? "space" : "effort"}
Join
</Button>
)}
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const JoinProjectForm: FC<PropsWithChildren<JoinProjectFormProps>> = (
disabled={!message}
onClick={handleRequestToJoin}
>
{isJoinMemberAdmittanceRequest ? "Request to join" : "Join space"}
{isJoinMemberAdmittanceRequest ? "Request to join" : "Join"}
</Button>
</div>
</>
Expand Down

0 comments on commit 0a8bb23

Please sign in to comment.