diff --git a/src/libs/actions/PersonalDetails.ts b/src/libs/actions/PersonalDetails.ts index cd5c8f827f09..2d51fbb9e8d2 100644 --- a/src/libs/actions/PersonalDetails.ts +++ b/src/libs/actions/PersonalDetails.ts @@ -98,7 +98,7 @@ function extractFirstAndLastNameFromAvailableDetails({login, displayName, firstN if (login && Str.removeSMSDomain(login) === displayName) { return {firstName: '', lastName: ''}; } - + if (displayName) { const firstSpaceIndex = displayName.indexOf(' '); const lastSpaceIndex = displayName.lastIndexOf(' '); diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 940804fec1ec..d30b69c5f6a2 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -2003,7 +2003,6 @@ function openReportFromDeepLink(url, isAuthenticated) { // Navigate to the report after sign-in/sign-up. InteractionManager.runAfterInteractions(() => { - Session.waitForUserSignIn().then(() => { Navigation.waitForProtectedRoutes().then(() => { const route = ReportUtils.getRouteFromLink(url);