Skip to content

Commit 3ddb802

Browse files
authored
Merge pull request Expensify#68125 from samranahm/68089/fix-back-navigation-on-InterestedFeatures
fix: back navigation on onboarding interested features page
2 parents 87ec600 + a3ccc19 commit 3ddb802

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/OnboardingInterestedFeatures/BaseOnboardingInterestedFeatures.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import CONFIG from '@src/CONFIG';
3636
import CONST from '@src/CONST';
3737
import type {TranslationPaths} from '@src/languages/types';
3838
import ONYXKEYS from '@src/ONYXKEYS';
39-
import ROUTES from '@src/ROUTES';
4039
import type {BaseOnboardingInterestedFeaturesProps, Feature, SectionObject} from './types';
4140

4241
function BaseOnboardingInterestedFeatures({shouldUseNativeStyles}: BaseOnboardingInterestedFeaturesProps) {
@@ -350,7 +349,7 @@ function BaseOnboardingInterestedFeatures({shouldUseNativeStyles}: BaseOnboardin
350349
<HeaderWithBackButton
351350
shouldShowBackButton
352351
progressBarPercentage={90}
353-
onBackButtonPress={() => Navigation.goBack(ROUTES.ONBOARDING_ACCOUNTING.getRoute())}
352+
onBackButtonPress={() => Navigation.goBack()}
354353
/>
355354
<View style={[onboardingIsMediumOrLargerScreenWidth && styles.mt5, onboardingIsMediumOrLargerScreenWidth ? styles.mh8 : styles.mh5]}>
356355
<Text style={[styles.textHeadlineH1, styles.mb5]}>{translate('onboarding.interestedFeatures.title')}</Text>

0 commit comments

Comments
 (0)