import { AuthProvider } from "@/contexts/AuthContext";
import { MenuProvider } from "@/contexts/MenuContext";
import { TabProvider } from "@/contexts/TabContext";
import { AppLayout } from "@/components/layout/AppLayout";

export default function MainLayout({ children }: { children: React.ReactNode }) {
  return (
    <AuthProvider>
      <MenuProvider>
        <TabProvider>
          <AppLayout>{children}</AppLayout>
        </TabProvider>
      </MenuProvider>
    </AuthProvider>
  );
}
