mirror of
https://github.com/supabase/supabase.git
synced 2026-05-09 10:19:50 -04:00
14fc9c0118
Replace www command menu with the new one.
13 lines
326 B
TypeScript
13 lines
326 B
TypeScript
'use client'
|
|
|
|
import dynamic from 'next/dynamic'
|
|
|
|
import { useCommandMenuInitiated } from 'ui-patterns/CommandMenu'
|
|
|
|
const LazyCommandMenu = dynamic(() => import('./CommandMenu'), { ssr: false })
|
|
|
|
export function WwwCommandMenu() {
|
|
const isInitiated = useCommandMenuInitiated()
|
|
return isInitiated && <LazyCommandMenu />
|
|
}
|