Skip to content

Commit

Permalink
Merge pull request #56487 from QichenZhu/fix/56355
Browse files Browse the repository at this point in the history
Fix contact details page not opening
  • Loading branch information
MarioExpensify authored Feb 10, 2025
2 parents 520ec34 + 6d6907f commit e3308ca
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,11 @@ function ContactMethodDetailsPage({route}: ContactMethodDetailsPageProps) {
}, [loginData?.validatedDate, loginData?.errorFields?.addedLogin]);

useEffect(() => {
if (loginData?.validatedDate) {
return;
}
resetContactMethodValidateCodeSentState(contactMethod);
}, [contactMethod]);
}, [contactMethod, loginData?.validatedDate]);

const getThreeDotsMenuItems = useCallback(() => {
const menuItems = [];
Expand Down

0 comments on commit e3308ca

Please sign in to comment.