Skip to content

Commit

Permalink
Merge pull request #34479 from Expensify/youssef_fix_typo_when_loadin…
Browse files Browse the repository at this point in the history
…g_violations

Fix a typo preventing us from using violations loaded from Onyx
  • Loading branch information
pecanoro authored Jan 15, 2024
2 parents f268c39 + 963d957 commit 86794fe
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 86794fe

Please sign in to comment.