diff --git a/src/core/public/chrome/ui/header/nav_link.tsx b/src/core/public/chrome/ui/header/nav_link.tsx index dd620d771b18..64d37411d837 100644 --- a/src/core/public/chrome/ui/header/nav_link.tsx +++ b/src/core/public/chrome/ui/header/nav_link.tsx @@ -39,7 +39,7 @@ import { relativeToAbsolute } from '../../nav_links/to_nav_link'; export const isModifiedOrPrevented = (event: React.MouseEvent) => event.metaKey || event.altKey || event.ctrlKey || event.shiftKey || event.defaultPrevented; -// Future: should make this function more generic +// TODO: make this function more generic export const isActiveNavLink = (currentId: string | undefined, targetId: string): boolean => { if (currentId === 'discover' || currentId === 'data-explorer') { return ['discover', 'data-explorer'].includes(targetId);