13 lines
374 B
TypeScript
13 lines
374 B
TypeScript
'use client'
|
|
|
|
import { AIChat } from '@/components/ai-chat'
|
|
|
|
/**
|
|
* Always render AIChat — on desktop the floating trigger button is shown
|
|
* unless a note editor already has the contextual panel open.
|
|
* The sidebar dispatches 'toggle-ai-chat' event to open it programmatically.
|
|
*/
|
|
export function AIChatLayoutBridge() {
|
|
return <AIChat showFloatingTrigger={true} />
|
|
}
|