diff --git a/worklenz-frontend/src/components/nav-rail/NavRailItem.tsx b/worklenz-frontend/src/components/nav-rail/NavRailItem.tsx index 70071e3e9..cfd91e92f 100644 --- a/worklenz-frontend/src/components/nav-rail/NavRailItem.tsx +++ b/worklenz-frontend/src/components/nav-rail/NavRailItem.tsx @@ -1,8 +1,9 @@ -import React from 'react'; +import React, { useMemo, useCallback } from 'react'; import { useSortable } from '@dnd-kit/sortable'; import { CSS } from '@dnd-kit/utilities'; +import { useTranslation } from 'react-i18next'; import { Tooltip, theme } from '@/shared/antd-imports'; -import { HolderOutlined, PushpinFilled, PushpinOutlined } from '@/shared/antd-imports'; +import { PushpinFilled, PushpinOutlined } from '@/shared/antd-imports'; import type { NavItem } from '@/features/navigation/nav-registry.types'; import './nav-rail.css'; @@ -20,9 +21,7 @@ interface NavRailItemProps { } // Fires `action` on Enter/Space, mirroring a native