Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Feb 21, 2024
1 parent e546ae6 commit cf538a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libs/Navigation/linkingConfig/getAdaptedStateFromPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import getTopmostNestedRHPRoute from '@libs/Navigation/getTopmostNestedRHPRoute'
import type {BottomTabName, CentralPaneName, FullScreenName, NavigationPartialRoute, RootStackParamList} from '@libs/Navigation/types';
import {extractPolicyIDFromPath, getPathWithoutPolicyID} from '@libs/PolicyUtils';
import NAVIGATORS from '@src/NAVIGATORS';
import ROUTES from '@src/ROUTES';
import SCREENS from '@src/SCREENS';
import CENTRAL_PANE_TO_RHP_MAPPING from './CENTRAL_PANE_TO_RHP_MAPPING';
import config from './config';
Expand Down Expand Up @@ -125,7 +124,7 @@ function getMatchingRootRouteForRHPRoute(
return createCentralPaneNavigator({name: centralPaneName as CentralPaneName, params: route.params});
}
}

// Check for FullScreenNavigator
for (const [fullScreenName, RHPNames] of Object.entries(FULL_SCREEN_TO_RHP_MAPPING)) {
if (RHPNames && RHPNames.includes(route.name)) {
Expand Down

0 comments on commit cf538a8

Please sign in to comment.