Skip to content

Commit

Permalink
fix: Expense - Console error shows up when opening date editor in tra…
Browse files Browse the repository at this point in the history
…nsaction thread.

Signed-off-by: Krishna Gupta <[email protected]>
  • Loading branch information
Krishna2323 committed May 7, 2024
1 parent 84118d8 commit aefe6c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/iou/request/step/IOURequestStepDate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const IOURequestStepDateWithOnyx = withOnyx<IOURequestStepDateProps, IOURequestS
}
return `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID ?? '0'}`;
},
canEvict: false,
},
policy: {
key: ({report}) => `${ONYXKEYS.COLLECTION.POLICY}${report ? report.policyID : '0'}`,
Expand Down

0 comments on commit aefe6c4

Please sign in to comment.