Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/iou/request/step/IOURequestStepConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,10 @@ function IOURequestStepConfirmation({
}

startMoneyRequest(
CONST.IOU.TYPE.CREATE,
// When starting to create an expense from the global FAB, there is not an existing report yet. A random optimistic reportID is generated and used
iouType ?? CONST.IOU.TYPE.CREATE,
// When starting to create an expense from the global FAB, If there is not an existing report yet, a random optimistic reportID is generated and used
// for all of the routes in the creation flow.
generateReportID(),
reportID ?? generateReportID(),
);
// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps -- we don't want this effect to run again
}, [isLoadingTransaction]);
Expand Down
Loading