Skip to content

Commit

Permalink
Merge pull request #290 from vishnoianil/fix-text
Browse files Browse the repository at this point in the history
Add more clarity to the inviter popup text
  • Loading branch information
nerdalert authored Oct 22, 2024
2 parents 6a7d851 + a6d47c6 commit 4875946
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/login/githublogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const GithubLogin: React.FC = () => {
const error = searchParams.get('error');
if (error === 'NotOrgMember') {
const errorMessage =
'You are not a member of the InstructLab Public org. Please join the InstructLab Public Organization on Github and try again.';
'You are not a member of the InstructLab Public Github Organization. \
To access the InstructLab UI, you need to be a member of InstructLab Public Github Organization.\
Please use the Send Invite button to receive an invitation to join the Organization. \
Once you accept the invitation please try again to access the InstructLab UI.';
setErrorMsg(errorMessage);
setShowError(true);
}
Expand Down Expand Up @@ -132,7 +135,7 @@ const GithubLogin: React.FC = () => {
<div>
<Modal
variant={ModalVariant.medium}
title="Please Join The InstructLab Public Org On GitHub"
title="Please Join The InstructLab Public Organization On GitHub"
titleIconVariant="warning"
isOpen={showError}
onClose={() => handleOnClose()}
Expand Down

0 comments on commit 4875946

Please sign in to comment.