File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ function SearchRejectReasonPage({route}: SearchRejectReasonPageProps) {
3030 const { translate} = useLocalize ( ) ;
3131
3232 const [ betas ] = useOnyx ( ONYXKEYS . BETAS ) ;
33- const { accountID : currentUserAccountID , email : currentUserLogin = '' } = useCurrentUserPersonalDetails ( ) ;
33+ const { accountID : currentUserAccountID , login : currentUserLogin } = useCurrentUserPersonalDetails ( ) ;
3434 // When coming from the report view, selectedTransactions is empty, build it from selectedTransactionIDs
3535 const selectedTransactionsForReject = useMemo ( ( ) => {
3636 if ( route . name === SCREENS . SEARCH . MONEY_REQUEST_REPORT_REJECT_TRANSACTIONS && reportID ) {
@@ -58,7 +58,7 @@ function SearchRejectReasonPage({route}: SearchRejectReasonPageProps) {
5858 allPolicies ,
5959 allReports ,
6060 currentUserAccountID ,
61- currentUserLogin ,
61+ currentUserLogin ?? '' ,
6262 betas ,
6363 ) ;
6464 if ( route . name === SCREENS . SEARCH . MONEY_REQUEST_REPORT_REJECT_TRANSACTIONS ) {
You can’t perform that action at this time.
0 commit comments