Skip to content

Commit d414689

Browse files
authored
Merge pull request #57845 from bernhardoj/fix/57541-undefined-is-shown-on-url-when-login
Fix undefined showing in URL after logging in
2 parents c7aa2c1 + d01d0f5 commit d414689

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libs/Navigation/AppNavigator/Navigators/ReportsSplitNavigator.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ function ReportsSplitNavigator({route}: PlatformStackScreenProps<AuthScreensPara
3636
}
3737

3838
const initialReport = ReportUtils.findLastAccessedReport(!canUseDefaultRooms, shouldOpenOnAdminRoom(), activeWorkspaceID);
39-
return initialReport?.reportID;
39+
// eslint-disable-next-line rulesdir/no-default-id-values
40+
return initialReport?.reportID ?? '';
4041
});
4142

4243
return (

0 commit comments

Comments
 (0)