import { AuthProvider } from "@/lib/contexts/auth";
import { TableSettingProvider } from "@/lib/contexts/tableSetting";

export const metadata = {
    title: "سامانه جامع راهداری",
};

export default function RootLayout({ children }) {
    return (
        <html lang="fa" dir={"rtl"}>
            <body style={{ height: "100vh", width: '100vw' }}>
                <AuthProvider>
                    <TableSettingProvider>{children}</TableSettingProvider>
                </AuthProvider>
            </body>
        </html>
    );
}
