docs(nxdev): optimize theme imports (#12940)

This commit is contained in:
Benjamin Cabanes 2022-11-02 10:16:31 -04:00 committed by GitHub
parent b2f953868a
commit d103cd9d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -1,4 +1,3 @@
/* This example requires Tailwind CSS v2.0+ */
import { Listbox, Transition } from '@headlessui/react';
import {
ComputerDesktopIcon,

View File

@ -1,9 +1,4 @@
import {
useEffect,
useLayoutEffect,
useMemo,
useSyncExternalStore,
} from 'react';
import { useMemo, useSyncExternalStore } from 'react';
export type Theme = 'light' | 'dark' | 'system';