mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-28 03:29:25 +01:00
13 lines
461 B
TypeScript
13 lines
461 B
TypeScript
import { Head, usePage } from '@inertiajs/react'
|
|
import ChatComponent from '~/components/chat'
|
|
|
|
export default function Chat(props: { settings: { chatSuggestionsEnabled: boolean } }) {
|
|
const { aiAssistantName } = usePage<{ aiAssistantName: string }>().props
|
|
return (
|
|
<div className="w-full h-full">
|
|
<Head title={aiAssistantName} />
|
|
<ChatComponent enabled={true} suggestionsEnabled={props.settings.chatSuggestionsEnabled} />
|
|
</div>
|
|
)
|
|
}
|