Skip to content

Commit

Permalink
Fix relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cbfrance committed Aug 18, 2023
1 parent 814b5d6 commit 064c8cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions components/NavigationLayout/constants/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// TODO fix relative paths
import type {
NavGroup,
NavItemLink,
} from '../../../SidebarNavigation/constants/dist'
} from '@cypress-design/constants-SidebarNavigation'

interface NavigationItem {
name: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import clsx from 'clsx'
import { SidebarNavigationLink } from './_SidebarNavigationLink'
import { NavGroup } from '../constants/dist'
import { NavGroup } from '@cypress-design/constants-SidebarNavigation'

export interface SidebarNavigationGroupProps {
group: NavGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import clsx from 'clsx'
import {
SidebarNavigationHeadInterface,
ProjectInterface,
} from '../constants/dist'
} from '@cypress-design/constants-SidebarNavigation'
import { IconGeneralGrid2X2Small } from '@cypress-design/react-icon'

export const SidebarNavigationHead: React.FC<
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import clsx from 'clsx'
import { SidebarNavigationLinkInterface } from '../constants/dist'
import { SidebarNavigationLinkInterface } from '@cypress-design/constants-SidebarNavigation'

export const SidebarNavigationLink: React.FC<
SidebarNavigationLinkInterface
Expand Down

0 comments on commit 064c8cf

Please sign in to comment.