Skip to content

Commit

Permalink
Fix a typo preventing us from using violations loaded from Onyx
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef-lr committed Jan 13, 2024
1 parent 63ed47d commit 963d957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestView.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export default compose(
return `${ONYXKEYS.COLLECTION.TRANSACTION}${transactionID}`;
},
},
transactionViolation: {
transactionViolations: {
key: ({report}) => {
const parentReportAction = ReportActionsUtils.getParentReportAction(report);
const transactionID = lodashGet(parentReportAction, ['originalMessage', 'IOUTransactionID'], 0);
Expand Down

0 comments on commit 963d957

Please sign in to comment.