Skip to content

Commit

Permalink
Remove unnecessary ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolen committed Jan 8, 2024
1 parent 1470c83 commit c89290b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ export default compose(
key: ONYXKEYS.USER_WALLET,
},
parentReportActions: {
key: ({report}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report ? report.parentReportID : 0}`,
key: ({report}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.parentReportID || 0}`,
canEvict: false,
},
}),
Expand Down

0 comments on commit c89290b

Please sign in to comment.