Skip to content

Commit

Permalink
set initial value so it render faster
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed May 7, 2024
1 parent 630f9e4 commit 83dc622
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,6 @@ AttachmentPickerWithMenuItems.displayName = 'AttachmentPickerWithMenuItems';
export default withOnyx<AttachmentPickerWithMenuItemsProps, AttachmentPickerWithMenuItemsOnyxProps>({
policy: {
key: ({report}) => `${ONYXKEYS.COLLECTION.POLICY}${report?.policyID}`,
initialValue: {} as OnyxTypes.Policy,
},
})(AttachmentPickerWithMenuItems);

0 comments on commit 83dc622

Please sign in to comment.