Skip to content

Commit 455f6f7

Browse files
committed
fix:65234: New contact method redirects to not-found
1 parent d4f4e53 commit 455f6f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)