Skip to content

Commit

Permalink
re: add new contact method navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
teneeto committed Sep 10, 2024
1 parent 56d5937 commit d137dc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ function addNewContactMethod(contactMethod: string, validateCode = '') {
const parameters: AddNewContactMethodParams = {partnerUserID: contactMethod, validateCode};

API.write(WRITE_COMMANDS.ADD_NEW_CONTACT_METHOD, parameters, {optimisticData, successData, failureData});
Navigation.navigate(ROUTES.SETTINGS_CONTACT_METHOD_DETAILS.getRoute(contactMethod));
}

/**
Expand Down

0 comments on commit d137dc5

Please sign in to comment.