chatbot-template/app/(chat)/layout.tsx

15 lines
354 B
TypeScript
Raw Normal View History

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 />
2024-03-20 04:37:08 +03:00
{children}
</div>
)
}