chatbot-template/app/(chat)/layout.tsx
2024-03-20 04:37:08 +03:00

14 lines
354 B
TypeScript

import { SidebarDesktop } from '@/components/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>
)
}