Skip to content

Commit 24c746a

Browse files
Merge pull request Expensify#66199 from Eskalifer1/fix/65234
fix:65234: New contact method redirects to not-found
2 parents cbe1f49 + 455f6f7 commit 24c746a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/settings/Profile/Contacts/NewContactMethodPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function NewContactMethodPage({route}: NewContactMethodPageProps) {
7676
useBeforeRemove(() => setIsValidateCodeActionModalVisible(false));
7777

7878
useEffect(() => {
79-
if (!pendingContactAction?.actionVerified) {
79+
if (!pendingContactAction?.actionVerified || !prevPendingContactAction?.contactMethod) {
8080
return;
8181
}
8282

0 commit comments

Comments
 (0)