From 0839c980eef91014210f6b17ef8d1d5cd4827d28 Mon Sep 17 00:00:00 2001 From: Sandra Hoang Date: Mon, 4 Nov 2024 09:27:29 -0500 Subject: [PATCH] change nav file type --- app/scripts/components/common/page-header/default-config.ts | 2 +- app/scripts/components/common/page-header/nav-menu-item.tsx | 2 +- .../components/common/page-header/{types.d.ts => types.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename app/scripts/components/common/page-header/{types.d.ts => types.ts} (100%) diff --git a/app/scripts/components/common/page-header/default-config.ts b/app/scripts/components/common/page-header/default-config.ts index 54d0a7a31..889f884b8 100644 --- a/app/scripts/components/common/page-header/default-config.ts +++ b/app/scripts/components/common/page-header/default-config.ts @@ -1,5 +1,5 @@ import { getString, getNavItemsFromVedaConfig } from 'veda'; -import { InternalNavLink, ExternalNavLink, ModalNavLink, DropdownNavLink, NavItemType } from '$components/common/page-header/types.d'; +import { InternalNavLink, ExternalNavLink, ModalNavLink, DropdownNavLink, NavItemType } from '$components/common/page-header/types'; import { STORIES_PATH, diff --git a/app/scripts/components/common/page-header/nav-menu-item.tsx b/app/scripts/components/common/page-header/nav-menu-item.tsx index d8c29fc4b..ba4889432 100644 --- a/app/scripts/components/common/page-header/nav-menu-item.tsx +++ b/app/scripts/components/common/page-header/nav-menu-item.tsx @@ -13,7 +13,7 @@ import { DropMenu, DropMenuItem } from '@devseed-ui/dropdown'; import DropdownScrollable from '../dropdown-scrollable'; import GoogleForm from '../google-form'; import { LinkProperties } from '../card'; -import { AlignmentEnum, InternalNavLink, ExternalNavLink, NavLinkItem, DropdownNavLink, ModalNavLink, NavItem, NavItemType } from './types.d'; +import { AlignmentEnum, InternalNavLink, ExternalNavLink, NavLinkItem, DropdownNavLink, ModalNavLink, NavItem, NavItemType } from './types'; import GlobalMenuLinkCSS from '$styles/menu-link'; import { useMediaQuery } from '$utils/use-media-query'; diff --git a/app/scripts/components/common/page-header/types.d.ts b/app/scripts/components/common/page-header/types.ts similarity index 100% rename from app/scripts/components/common/page-header/types.d.ts rename to app/scripts/components/common/page-header/types.ts