Skip to content

Commit

Permalink
docs(nxdev): optimize theme imports (#12940)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes committed Nov 2, 2022
1 parent b2f9538 commit d103cd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion nx-dev/ui-theme/src/lib/theme-switcher.component.tsx
@@ -1,4 +1,3 @@
/* This example requires Tailwind CSS v2.0+ */
import { Listbox, Transition } from '@headlessui/react';
import {
ComputerDesktopIcon,
Expand Down
7 changes: 1 addition & 6 deletions nx-dev/ui-theme/src/lib/theme.provider.tsx
@@ -1,9 +1,4 @@
import {
useEffect,
useLayoutEffect,
useMemo,
useSyncExternalStore,
} from 'react';
import { useMemo, useSyncExternalStore } from 'react';

export type Theme = 'light' | 'dark' | 'system';

Expand Down

1 comment on commit d103cd9

@vercel
Copy link

@vercel vercel bot commented on d103cd9 Nov 2, 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-dev-nrwl.vercel.app
nx-five.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.