diff --git a/src/pages/ProfilePage.js b/src/pages/ProfilePage.js index 47eb44de6f91..36fafa94d097 100755 --- a/src/pages/ProfilePage.js +++ b/src/pages/ProfilePage.js @@ -136,6 +136,7 @@ function ProfilePage(props) { const chatReportWithCurrentUser = !isCurrentUser && !Session.isAnonymousUser() ? ReportUtils.getChatByParticipants([accountID]) : 0; + // eslint-disable-next-line rulesdir/prefer-early-return useEffect(() => { if (ValidationUtils.isValidAccountRoute(accountID) && !hasMinimumDetails) { PersonalDetails.openPublicProfilePage(accountID);