command-palette.tsx 249 B

1234567891011
  1. import { lazy, Suspense } from 'react'
  2. const CommandPaletteRoot = lazy(() => import('./command-palette-root'))
  3. export default function CommandPalette() {
  4. return (
  5. <Suspense fallback={null}>
  6. <CommandPaletteRoot />
  7. </Suspense>
  8. )
  9. }