Skip to content

Commit

Permalink
Merge pull request #36329 from Expensify/beaman-add-navigation-fix-back
Browse files Browse the repository at this point in the history
Add nav backup back so we can CP to staging

(cherry picked from commit 4c98589)
  • Loading branch information
Beamanator authored and OSBotify committed Feb 12, 2024
1 parent 90b0174 commit 4638aa6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/iou/request/step/IOURequestStepDescription.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ import updateMultilineInputRange from '@libs/updateMultilineInputRange';
import * as IOU from '@userActions/IOU';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
<<<<<<< HEAD
import ROUTES from '@src/ROUTES';
=======
import {policyPropTypes} from '@src/pages/workspace/withPolicy';
>>>>>>> 4c98589 (Merge pull request #36329 from Expensify/beaman-add-navigation-fix-back)
import IOURequestStepRoutePropTypes from './IOURequestStepRoutePropTypes';
import StepScreenWrapper from './StepScreenWrapper';
import withFullTransactionOrNotFound from './withFullTransactionOrNotFound';
Expand Down Expand Up @@ -72,7 +76,7 @@ function IOURequestStepDescription({
);

const navigateBack = () => {
Navigation.goBack(backTo || ROUTES.HOME);
Navigation.goBack(backTo);
};

/**
Expand Down

0 comments on commit 4638aa6

Please sign in to comment.