15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { SidebarDesktop } from '@/components-ai/sidebar-desktop'
|
|
|
|
interface ChatLayoutProps {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
export default async function ChatLayout({ children }: ChatLayoutProps) {
|
|
return (
|
|
<div className="relative flex h-[calc(100vh_-_theme(spacing.16))] overflow-hidden">
|
|
<SidebarDesktop />
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|