From fa95f5499562d2e8d05a865a0fc745f7c80f9c75 Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Mon, 12 Feb 2024 14:55:22 +0200 Subject: [PATCH] Re-remove nav backup --- src/pages/iou/request/step/IOURequestStepDescription.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/iou/request/step/IOURequestStepDescription.js b/src/pages/iou/request/step/IOURequestStepDescription.js index 1cfa0a117cdd..f3324a311732 100644 --- a/src/pages/iou/request/step/IOURequestStepDescription.js +++ b/src/pages/iou/request/step/IOURequestStepDescription.js @@ -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'; @@ -109,7 +108,7 @@ function IOURequestStepDescription({ }, []); const navigateBack = () => { - Navigation.goBack(backTo || ROUTES.HOME); + Navigation.goBack(backTo); }; /**