"use client";
import { useSession } from "next-auth/react";
import Sidebar from "./Sidebar";
import { usePathname } from "next/navigation";
export default function AppShell({ children }: { children: React.ReactNode }) {
const { status } = useSession();
const pathname = usePathname();
// Don't show shell on auth pages
if (pathname.startsWith("/auth") || status === "unauthenticated") {
return