@@ -77,7 +77,6 @@ import {
7777 getIOUReportIDFromReportActionPreview ,
7878 getOriginalMessage ,
7979 getPlaidBalanceFailureMessage ,
80- getReimbursedMessage ,
8180 getRenamedAction ,
8281 getReportActionHtml ,
8382 getReportActionMessage ,
@@ -149,6 +148,7 @@ import MentionWhisperContent from './actionContents/MentionWhisperContent';
149148import ModifiedExpenseContent from './actionContents/ModifiedExpenseContent' ;
150149import PaymentContent from './actionContents/PaymentContent' ;
151150import PolicyChangeLogContent , { isHandledPolicyChangeLogAction } from './actionContents/PolicyChangeLogContent' ;
151+ import ReimbursedContent from './actionContents/ReimbursedContent' ;
152152import ReimbursementDeQueuedContent from './actionContents/ReimbursementDeQueuedContent' ;
153153import ReportMentionWhisperContent from './actionContents/ReportMentionWhisperContent' ;
154154import SimpleMessageContent , { isSimpleMessageAction } from './actionContents/SimpleMessageContent' ;
@@ -942,7 +942,12 @@ function PureReportActionItem({
942942 />
943943 ) ;
944944 } else if ( isActionOfType ( action , CONST . REPORT . ACTIONS . TYPE . REIMBURSED ) ) {
945- children = < ReportActionItemBasicMessage message = { getReimbursedMessage ( translate , action , report , currentUserAccountID ) } /> ;
945+ children = (
946+ < ReimbursedContent
947+ action = { action }
948+ report = { report }
949+ />
950+ ) ;
946951 } else if ( isSimpleMessageAction ( action ) ) {
947952 children = < SimpleMessageContent action = { action } /> ;
948953 } else if ( isActionOfType ( action , CONST . REPORT . ACTIONS . TYPE . FORWARDED ) ) {
@@ -1021,7 +1026,6 @@ function PureReportActionItem({
10211026 report = { report }
10221027 originalReport = { originalReport }
10231028 policy = { policy }
1024- currentUserAccountID = { currentUserAccountID }
10251029 personalPolicyID = { personalPolicyID }
10261030 originalReportID = { originalReportID }
10271031 resolveActionableMentionWhisper = { resolveActionableMentionWhisper }
@@ -1186,7 +1190,6 @@ function PureReportActionItem({
11861190 accountIDs = { oldestFourAccountIDs }
11871191 onSecondaryInteraction = { showPopover }
11881192 isActive = { isReportActionActive && ! isContextMenuActive }
1189- currentUserAccountID = { currentUserAccountID }
11901193 />
11911194 </ View >
11921195 ) }
0 commit comments