diff --git a/packages/cli/src/bin/dev-portal/PersonSideSheet/index.tsx b/packages/cli/src/bin/dev-portal/PersonSideSheet/index.tsx index 3e6f6c0538..c61a695748 100644 --- a/packages/cli/src/bin/dev-portal/PersonSideSheet/index.tsx +++ b/packages/cli/src/bin/dev-portal/PersonSideSheet/index.tsx @@ -41,8 +41,8 @@ export const PersonSideSheet = ({ azureId, isOpen, onClose }: PersonSideSheetPro return Comp; }, [currentSheet]); - const navigateCallback = useCallback((sheet: string) => { - console.log('Navigate to sheet:', sheet); + const navigateCallback = useCallback( + (sheet: string) => { setCurrentSheet(sheet ?? 'default'); }, [setCurrentSheet], diff --git a/packages/modules/feature-flag/src/plugins/cgi/plugin.ts b/packages/modules/feature-flag/src/plugins/cgi/plugin.ts index c31d9c6ee4..459f240d7c 100644 --- a/packages/modules/feature-flag/src/plugins/cgi/plugin.ts +++ b/packages/modules/feature-flag/src/plugins/cgi/plugin.ts @@ -1,7 +1,7 @@ import { INavigationProvider } from '@equinor/fusion-framework-module-navigation'; import type { AssertFeatureFlag, CgiFeatureFlagPlugin, ICgiPluginClient, Path } from './types'; import { Subject, Subscription, forkJoin, from, of } from 'rxjs'; -import { concatMap, map, reduce, takeUntil, withLatestFrom } from 'rxjs/operators'; +import { concatMap, map, reduce, takeUntil } from 'rxjs/operators'; import { FeatureFlag, IFeatureFlag } from '../../FeatureFlag'; import { IFeatureFlagProvider } from '../../FeatureFlagProvider'; import { normalizeFlags } from '../../utils/normalize-flags';