Skip to content

Commit

Permalink
Merge pull request #28890 from dukenv0307/fix/27965-regression
Browse files Browse the repository at this point in the history
[CP Staging] Fix route of edit receipt request
  • Loading branch information
mountiny authored Oct 5, 2023
2 parents 0cbee22 + a346201 commit 8b2ce60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function AttachmentModal(props) {
icon: Expensicons.Camera,
text: props.translate('common.replace'),
onSelected: () => {
onModalHideCallbackRef.current = () => Navigation.navigate(ROUTES.getEditRequestRoute(props.report.reportID, CONST.EDIT_REQUEST_FIELD.RECEIPT));
onModalHideCallbackRef.current = () => Navigation.navigate(ROUTES.EDIT_REQUEST.getRoute(props.report.reportID, CONST.EDIT_REQUEST_FIELD.RECEIPT));
closeModal();
},
});
Expand Down

0 comments on commit 8b2ce60

Please sign in to comment.