diff --git a/packages/manager/src/components/PrimaryNav/PrimaryLink.tsx b/packages/manager/src/components/PrimaryNav/PrimaryLink.tsx index b626899c35a..f2f50d090eb 100644 --- a/packages/manager/src/components/PrimaryNav/PrimaryLink.tsx +++ b/packages/manager/src/components/PrimaryNav/PrimaryLink.tsx @@ -1,17 +1,13 @@ import { BetaChip } from '@linode/ui'; import * as React from 'react'; -import { - StyledActiveLink, - StyledChip, - StyledPrimaryLinkBox, -} from './PrimaryNav.styles'; +import { StyledActiveLink, StyledPrimaryLinkBox } from './PrimaryNav.styles'; import type { NavEntity } from './PrimaryNav'; import type { CreateEntity } from 'src/features/TopMenu/CreateMenu/CreateMenu'; export interface BaseNavLink { - attr?: { [key: string]: any }; + attr?: { [key: string]: unknown }; display: CreateEntity | NavEntity; hide?: boolean; href: string; @@ -21,8 +17,7 @@ export interface PrimaryLink extends BaseNavLink { activeLinks?: Array; betaChipClassName?: string; isBeta?: boolean; - label?: string; - onClick?: (e: React.ChangeEvent) => void; + onClick?: (e: React.ChangeEvent) => void; } interface PrimaryLinkProps extends PrimaryLink { @@ -41,7 +36,6 @@ const PrimaryLink = React.memo((props: PrimaryLinkProps) => { isActiveLink, isBeta, isCollapsed, - label, onClick, } = props; @@ -60,7 +54,6 @@ const PrimaryLink = React.memo((props: PrimaryLinkProps) => { isActiveLink={isActiveLink} isCollapsed={isCollapsed} > -