"use client";

import { SessionProvider } from "next-auth/react";
import { SidebarProvider } from "@/components/ui/sidebar";
import { ActiveAppProvider } from "@/components/active-app-provider";

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <SessionProvider>
      <ActiveAppProvider>
        <SidebarProvider>{children}</SidebarProvider>
      </ActiveAppProvider>
    </SessionProvider>
  );
}
