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

(cherry picked from commit 8b2ce60)
  • Loading branch information
mountiny authored and OSBotify committed Oct 5, 2023
1 parent 78b0333 commit 750315c
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 750315c

Please sign in to comment.