Skip to content

Commit

Permalink
docs(nxdev): cleanup imports (#11561)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes committed Aug 12, 2022
1 parent 9bea849 commit dd95549
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions nx-dev/data-access-menu/src/lib/menu.api.ts
@@ -1,11 +1,6 @@
import { DocumentMetadata } from '@nrwl/nx-dev/models-document';
import { Menu, MenuItem, MenuSection } from '@nrwl/nx-dev/models-menu';
import {
createMenuItems,
getBasicSection,
getDeepDiveSection,
getPackageApiSection,
} from './menu.utils';
import { createMenuItems, getPackageApiSection } from './menu.utils';

export class MenuApi {
private menuCache: Menu | null = null;
Expand Down
@@ -1,10 +1,10 @@
import { PackageMetadata } from '@nrwl/nx-dev/models-package';
import { Breadcrumbs } from '@nrwl/nx-dev/ui-common';
import { renderMarkdown } from '@nrwl/nx-dev/ui-markdoc';
import cx from 'classnames';
import { NextSeo } from 'next-seo';
import { useRouter } from 'next/router';
import { ReactNode } from 'react';
import { Breadcrumbs } from '@nrwl/nx-dev/ui-common';
import { Heading1 } from './ui/headings';
import { PackageReference } from './ui/package-reference';

Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-common/src/lib/selector.tsx
@@ -1,6 +1,6 @@
import { Listbox, Transition } from '@headlessui/react';
import { CheckIcon, SelectorIcon } from '@heroicons/react/solid';
import { Fragment, ReactComponentElement } from 'react';
import { Fragment } from 'react';

export interface SelectorProps<T> {
items: { label: string; value: string; data?: T }[];
Expand Down
2 changes: 1 addition & 1 deletion nx-dev/ui-markdoc/src/lib/tags/callout.component.tsx
@@ -1,8 +1,8 @@
import {
CheckCircleIcon,
ExclamationIcon,
InformationCircleIcon,
HandIcon,
InformationCircleIcon,
} from '@heroicons/react/outline';
import cx from 'classnames';
import { ReactNode } from 'react';
Expand Down

1 comment on commit dd95549

@vercel
Copy link

@vercel vercel bot commented on dd95549 Aug 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx.dev
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.