import WithAuthMiddleware from "@/core/middlewares/withAuth";
import { AuthProvider } from "@/lib/contexts/auth";

const Layout = ({ children }) => {
    return (
        <AuthProvider>
            <WithAuthMiddleware>{children}</WithAuthMiddleware>
        </AuthProvider>
    );
};

export default Layout;
