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
  • Loading branch information
Beamanator authored Feb 12, 2024
2 parents 72ffe93 + fa95f54 commit 4c98589
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/iou/request/step/IOURequestStepDescription.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import * as IOU from '@userActions/IOU';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import {policyPropTypes} from '@src/pages/workspace/withPolicy';
import ROUTES from '@src/ROUTES';
import IOURequestStepRoutePropTypes from './IOURequestStepRoutePropTypes';
import StepScreenWrapper from './StepScreenWrapper';
import withFullTransactionOrNotFound from './withFullTransactionOrNotFound';
Expand Down Expand Up @@ -109,7 +108,7 @@ function IOURequestStepDescription({
}, []);

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

/**
Expand Down

0 comments on commit 4c98589

Please sign in to comment.