Skip to content

Commit

Permalink
Fix policyID={false} warning
Browse files Browse the repository at this point in the history
  • Loading branch information
paultsimura committed Jan 31, 2024
1 parent f141ae1 commit c1f8ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/SplitBillDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function SplitBillDetailsPage(props) {
transaction={isEditingSplitBill ? props.draftTransaction || props.transaction : props.transaction}
onConfirm={onConfirm}
isPolicyExpenseChat={ReportUtils.isPolicyExpenseChat(props.report)}
policyID={ReportUtils.isPolicyExpenseChat(props.report) && props.report.policyID}
policyID={ReportUtils.isPolicyExpenseChat(props.report) ? props.report.policyID : null}
/>
)}
</View>
Expand Down

0 comments on commit c1f8ca6

Please sign in to comment.