@@ -87,7 +87,7 @@ import {
8787 getWorkspaceUpdateFieldMessage ,
8888 isActionableAddPaymentCard ,
8989 isActionableJoinRequest ,
90- isActionableMentionInviteToSubmitExpensesConfirmWhisper ,
90+ isActionableMentionInviteToSubmitExpenseConfirmWhisper ,
9191 isActionableMentionWhisper ,
9292 isActionableReportMentionWhisper ,
9393 isActionableTrackExpense ,
@@ -429,7 +429,7 @@ function PureReportActionItem({
429429 const isReportActionLinked = linkedReportActionID && action . reportActionID && linkedReportActionID === action . reportActionID ;
430430 const [ isReportActionActive , setIsReportActionActive ] = useState ( ! ! isReportActionLinked ) ;
431431 const isActionableWhisper =
432- isActionableMentionWhisper ( action ) || isActionableMentionInviteToSubmitExpensesConfirmWhisper ( action ) || isActionableTrackExpense ( action ) || isActionableReportMentionWhisper ( action ) ;
432+ isActionableMentionWhisper ( action ) || isActionableMentionInviteToSubmitExpenseConfirmWhisper ( action ) || isActionableTrackExpense ( action ) || isActionableReportMentionWhisper ( action ) ;
433433
434434 const highlightedBackgroundColorIfNeeded = useMemo (
435435 ( ) => ( isReportActionLinked ? StyleUtils . getBackgroundColorStyle ( theme . messageHighlightBG ) : { } ) ,
@@ -751,12 +751,12 @@ function PureReportActionItem({
751751 ] ;
752752 }
753753
754- if ( isActionableMentionInviteToSubmitExpensesConfirmWhisper ( action ) ) {
754+ if ( isActionableMentionInviteToSubmitExpenseConfirmWhisper ( action ) ) {
755755 return [
756756 {
757757 text : 'common.buttonConfirm' ,
758- key : `${ action . reportActionID } -actionableReportMentionConfirmWhisper-${ CONST . REPORT . ACTIONABLE_MENTION_INVITE_TO_SUBMIT_EXPENSES_CONFIRM_WHISPER . DONE } ` ,
759- onPress : ( ) => resolveActionableMentionConfirmWhisper ( reportID , action , CONST . REPORT . ACTIONABLE_MENTION_INVITE_TO_SUBMIT_EXPENSES_CONFIRM_WHISPER . DONE ) ,
758+ key : `${ action . reportActionID } -actionableReportMentionConfirmWhisper-${ CONST . REPORT . ACTIONABLE_MENTION_INVITE_TO_SUBMIT_EXPENSE_CONFIRM_WHISPER . DONE } ` ,
759+ onPress : ( ) => resolveActionableMentionConfirmWhisper ( reportID , action , CONST . REPORT . ACTIONABLE_MENTION_INVITE_TO_SUBMIT_EXPENSE_CONFIRM_WHISPER . DONE ) ,
760760 isPrimary : true ,
761761 } ,
762762 ] ;
0 commit comments