mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 01:10:15 -04:00
bbfccdf471
* Remove extra file. * Remove unneeded tsconfig.jsons. * Add @/* alias for importing in-package files to all apps. * Remove baseUrl from all apps except studio (it'll require changes in almost all files). * Fix baseUrl issues in docs, ui-library and design-system. * Fix the typecheck for cms app. Fix all baseUrl errors in the cms app. * Add deprecated flag to baseUrl in www.
17 lines
447 B
TypeScript
17 lines
447 B
TypeScript
'use client'
|
|
|
|
import type { PropsWithChildren } from 'react'
|
|
|
|
import { CommandProvider } from 'ui-patterns/CommandMenu'
|
|
import { useDocsCommandMenuTelemetry } from '@/hooks/useDocsCommandMenuTelemetry'
|
|
|
|
export function DocsCommandProvider({ children }: PropsWithChildren) {
|
|
const { onTelemetry } = useDocsCommandMenuTelemetry()
|
|
|
|
return (
|
|
<CommandProvider app="docs" onTelemetry={onTelemetry}>
|
|
{children}
|
|
</CommandProvider>
|
|
)
|
|
}
|