You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #82132 from Expensify/revert-80480-revert-80286-revert-76595-fix/76050
[CP Staging] Revert "Update create transaction Manual flow to ask for merchant after asking for amount v2"
(cherry picked from commit 2a67ba2)
(cherry-picked to staging by lakchote)
@@ -38,7 +38,6 @@ import {createDraftWorkspace} from '@userActions/Policy/Policy';
38
38
importCONSTfrom'@src/CONST';
39
39
importONYXKEYSfrom'@src/ONYXKEYS';
40
40
importROUTESfrom'@src/ROUTES';
41
-
importtype{Route}from'@src/ROUTES';
42
41
importtypeSCREENSfrom'@src/SCREENS';
43
42
importtype{Policy}from'@src/types/onyx';
44
43
importtype{Participant}from'@src/types/onyx/IOU';
@@ -89,7 +88,6 @@ function IOURequestStepParticipants({
89
88
90
89
// We need to set selectedReportID if user has navigated back from confirmation page and navigates to confirmation page with already selected participant
// If the backTo parameter is set, we should navigate back to the confirmation screen that is already on the stack.
370
355
// We wrap navigation in setNavigationActionToMicrotaskQueue so that data loading in Onyx and navigation do not occur simultaneously, which resets the amount to 0.
371
356
// More information can be found here: https://github.com/Expensify/App/issues/73728
// We don't want to compare params because we just changed the participants.
375
360
Navigation.goBack(route,{compareParams: false});
376
361
}else{
377
-
// If the merchant step is required and the backTo parameter is set, we need to go back the the confirmation screen first and then navigate to the merchant page with forceReplace to remove this screen from the stack
0 commit comments