From 55d01cd228d3bf4650f6552e7640391993f82c59 Mon Sep 17 00:00:00 2001 From: dominictb Date: Tue, 25 Jun 2024 16:23:23 +0700 Subject: [PATCH] fix: use goBack when navigating to More Feature page --- .../workspace/distanceRates/PolicyDistanceRatesSettingsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/distanceRates/PolicyDistanceRatesSettingsPage.tsx b/src/pages/workspace/distanceRates/PolicyDistanceRatesSettingsPage.tsx index 9080685d3080..03c96e7f67e2 100644 --- a/src/pages/workspace/distanceRates/PolicyDistanceRatesSettingsPage.tsx +++ b/src/pages/workspace/distanceRates/PolicyDistanceRatesSettingsPage.tsx @@ -141,7 +141,7 @@ function PolicyDistanceRatesSettingsPage({policy, policyCategories, route}: Poli { Navigation.dismissModal(); - Navigation.navigate(ROUTES.WORKSPACE_MORE_FEATURES.getRoute(policyID)); + Navigation.goBack(ROUTES.WORKSPACE_MORE_FEATURES.getRoute(policyID)); }} > {translate('workspace.common.moreFeatures')}