// app/dashboard/layout.tsx
"use client";
import Sidebar from "@/components/dashboard/Sidebar";
import React from "react";
import { SessionProvider } from "next-auth/react";

const DashboardLayout: React.FC<{ children: React.ReactNode }> = ({
  children,
}) => {
  return (
    <div className="flex h-screen">
      <SessionProvider>
        <Sidebar />
        <main className="flex-1 p-6 bg-[#151515]">{children}</main>
      </SessionProvider>
    </div>
  );
};

export default DashboardLayout;
