Skip to content

Commit

Permalink
Merge pull request #36287 from Expensify/marcaaron-fixDoubleNavigateM…
Browse files Browse the repository at this point in the history
…oneyRequestIssue

[CP Staging] Remove `backTo` for money request view

(cherry picked from commit 56a41e1)
  • Loading branch information
marcaaron authored and OSBotify committed Feb 10, 2024
1 parent ea10a33 commit e2cea8b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/ReportActionItem/MoneyRequestView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,7 @@ function MoneyRequestView({
titleStyle={styles.flex1}
onPress={() =>
Navigation.navigate(
ROUTES.MONEY_REQUEST_STEP_DESCRIPTION.getRoute(
CONST.IOU.ACTION.EDIT,
CONST.IOU.TYPE.REQUEST,
transaction?.transactionID ?? '',
report.reportID,
Navigation.getActiveRouteWithoutParams(),
),
ROUTES.MONEY_REQUEST_STEP_DESCRIPTION.getRoute(CONST.IOU.ACTION.EDIT, CONST.IOU.TYPE.REQUEST, transaction?.transactionID ?? '', report.reportID),
)
}
wrapperStyle={[styles.pv2, styles.taskDescriptionMenuItem]}
Expand Down

0 comments on commit e2cea8b

Please sign in to comment.