Skip to content

Commit

Permalink
Merge pull request #34403 from bernhardoj/fix/34379-report-screen-fla…
Browse files Browse the repository at this point in the history
…shes

Fix report screen blinking after updating the receipt
  • Loading branch information
rlinoz authored Jan 16, 2024
2 parents 0798ed7 + 28636aa commit ee77046
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/pages/iou/request/step/IOURequestStepScan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,9 @@ function IOURequestStepScan({
const updateScanAndNavigate = useCallback(
(file, source) => {
IOU.replaceReceipt(transactionID, file, source);
if (backTo) {
Navigation.goBack(backTo);
return;
}
Navigation.dismissModal();
},
[backTo, transactionID],
[transactionID],
);

/**
Expand Down

0 comments on commit ee77046

Please sign in to comment.