Skip to content

Commit

Permalink
Merge pull request #36327 from Expensify/beaman-revert-ideal-nav-goba…
Browse files Browse the repository at this point in the history
…ck-workaround

Revert a fix for IOU Description Edits - will readd this after, so we can CP just this to staging
  • Loading branch information
Beamanator authored Feb 12, 2024
2 parents 13e7924 + 2f4ac02 commit 72ffe93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/iou/request/step/IOURequestStepDescription.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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 @@ -108,7 +109,7 @@ function IOURequestStepDescription({
}, []);

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

/**
Expand Down

0 comments on commit 72ffe93

Please sign in to comment.