Files
ef_front/app/usr/layout.tsx

13 lines
335 B
TypeScript
Raw Normal View History

2025-09-07 22:57:43 +00:00
// app/layout.tsx (Server Component)
import { auth } from "@/auth";
import LayoutClient from "@/app/components/LayoutClient";
export default async function Layout({ children }: { children: React.ReactNode }) {
const session = await auth();
return (
<LayoutClient session={session}>
{children}
</LayoutClient>
);
}