Skip to content

Commit

Permalink
fix optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Sep 27, 2023
1 parent add0863 commit bab3fc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ export default withOnyx({
key: `${ONYXKEYS.COLLECTION.SELECTED_TAB}${CONST.TAB.RECEIPT_TAB_ID}`,
},
transaction: {
key: ({iou}) => `${ONYXKEYS.COLLECTION.TRANSACTION}${iou?.transactionID}`,
key: ({iou}) => `${ONYXKEYS.COLLECTION.TRANSACTION}${iou ? iou.transactionID : ''}`,
},
})(MoneyRequestParticipantsPage);

0 comments on commit bab3fc8

Please sign in to comment.