Skip to content

Commit

Permalink
refactor(hooks): update type name
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Sep 23, 2024
1 parent d41f3c1 commit 25e8fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/app/components/nav/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import type {LocationDescriptor} from 'history';

import {isItemActive} from 'sentry/components/sidebar/sidebarItem';
import {SIDEBAR_NAVIGATION_SOURCE} from 'sentry/components/sidebar/utils';
import type {FeatureDisabledHooks, WithoutPrefix} from 'sentry/types/hooks';
import type {FeatureDisabledHooks, HookWithoutPrefix} from 'sentry/types/hooks';
import normalizeUrl from 'sentry/utils/url/normalizeUrl';
import type {useLocation} from 'sentry/utils/useLocation';

export const NAV_DIVIDER = Symbol('divider');

interface FeatureCheck {
features: string | string[];
hook?: WithoutPrefix<keyof FeatureDisabledHooks>;
hook?: HookWithoutPrefix<keyof FeatureDisabledHooks>;
}

interface NavItem {
Expand Down

0 comments on commit 25e8fa5

Please sign in to comment.