Skip to content

Commit

Permalink
fix incorrect when inviting existing member
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Aug 31, 2023
1 parent c20c387 commit 6ca9958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceInvitePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function WorkspaceInvitePage(props) {
);

const headerMessage = useMemo(() => {
const searchValue = searchTerm.trim();
const searchValue = searchTerm.trim().toLowerCase();
if (!userToInvite && CONST.EXPENSIFY_EMAILS.includes(searchValue)) {
return translate('messages.errorMessageInvalidEmail');
}
Expand Down

0 comments on commit 6ca9958

Please sign in to comment.