import DashboardLayout from "@/components/layout/dashboard/root-layout";

/** Nested layout only — root `app/layout.tsx` owns `<html>` / `<body>`. Duplicate roots break React context (e.g. `useContext` / `usePathname`). */
export const metadata = {
  title: "Dashboard",
  description: "Generated by Next.js",
};

export default function AppSegmentLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return <DashboardLayout>{children}</DashboardLayout>;
}
