import { getSession } from "@/lib/auth/session";
import { ReadingShell } from "./reading-shell";

export default async function ReadingLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  const session = await getSession();

  return <ReadingShell isLoggedIn={!!session?.user}>{children}</ReadingShell>;
}
