Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chriszarate committed Nov 7, 2023
1 parent a3ed09b commit da43b94
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
10 changes: 2 additions & 8 deletions src/system/Nav/Nav.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
/**
* External dependencies
*/
import type { StoryObj } from '@storybook/react';

/**
* Internal dependencies
*/
import { Nav, NavItem } from '../../system';

import type { StoryObj } from '@storybook/react';

export default {
title: 'Navigation/Nav',
component: Nav,
Expand Down
1 change: 0 additions & 1 deletion src/system/Nav/Nav.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { ThemeUIProvider } from 'theme-ui';
* Internal dependencies
*/
import { Nav, NavItem } from './';

import { theme } from '../';

const renderWithTheme = children =>
Expand Down
4 changes: 2 additions & 2 deletions src/system/Nav/Nav.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/** @jsxImportSource theme-ui */
import React, { Ref, forwardRef } from 'react';
import * as NavigationMenu from '@radix-ui/react-navigation-menu';
import classNames from 'classnames';
import { Ref, forwardRef } from 'react';
import { ThemeUIStyleObject } from 'theme-ui';

import { VIP_NAV } from '.';
import { ThemeUIStyleObject } from 'theme-ui';

export type NavVariant = 'primary' | 'tabs';

Expand Down
4 changes: 2 additions & 2 deletions src/system/Nav/NavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
/**
* External dependencies
*/
import React, { Ref, forwardRef } from 'react';
import * as NavigationMenu from '@radix-ui/react-navigation-menu';
import classNames from 'classnames';
import { Ref, forwardRef } from 'react';
import { Theme, ThemeUIStyleObject } from 'theme-ui';

/**
* Internal dependencies
*/
import { VIP_NAV } from '.';
import { Theme, ThemeUIStyleObject } from 'theme-ui';
import { NavVariant } from './Nav';

interface NavItemTheme extends Theme {
Expand Down
1 change: 0 additions & 1 deletion src/system/Nav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Internal dependencies
*/
import { NavPrimary as Primary, NavTab as Tab } from './Nav';

import { ItemPrimary, ItemTab } from './NavItem';

export const VIP_NAV = 'vip-nav-component';
Expand Down

0 comments on commit da43b94

Please sign in to comment.