// import { sessionUser } from '@/auth'; // import ChatSidebarList from '@/components/chat-sidebar/ChatListSidebar'; // import Loading from '@/components/ui/Loading'; // import { dbGetMyChatListWithMessages } from '@/lib/db/functions'; // import { Suspense } from 'react'; interface ChatLayoutProps { children: React.ReactNode; } // export default async function Layout({ children }: ChatLayoutProps) { // const { email, user, id } = await sessionUser(); // const chats = await dbGetMyChatListWithMessages(); // return ( //
// {user && ( //
// }> // // //
// )} // }> //
// {children} //
//
//
// ); // } export default async function Layout({ children }: ChatLayoutProps) { // return }>{children}; return children; }