Skip to content

Commit

Permalink
Merge pull request #18705 from Pujan92/revert-18473-fix/17889
Browse files Browse the repository at this point in the history
Revert "Fix: Red dot persists after removing phone number contact method"
  • Loading branch information
pecanoro committed May 10, 2023
2 parents 4694602 + 38167f3 commit ecf3b61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/settings/Profile/Contacts/NewContactMethodPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import ROUTES from '../../../../ROUTES';
import styles from '../../../../styles/styles';
import * as User from '../../../../libs/actions/User';
import * as LoginUtils from '../../../../libs/LoginUtils';
import * as OptionsListUtils from '../../../../libs/OptionsListUtils';
import CONST from '../../../../CONST';

const propTypes = {
Expand Down Expand Up @@ -85,7 +84,7 @@ function NewContactMethodPage(props) {
return;
}

User.addNewContactMethodAndNavigate(OptionsListUtils.addSMSDomainIfPhoneNumber(userLogin), password);
User.addNewContactMethodAndNavigate(userLogin, password);
}, [login, props.loginList, password]);

return (
Expand Down

0 comments on commit ecf3b61

Please sign in to comment.