Files
DetnalCare/app/(auth)/layout.tsx
Iliyan Angelov 39077550ef Dental Care
2025-11-16 14:29:51 +02:00

14 lines
382 B
TypeScript

import { ReactNode } from "react";
export default async function AuthLayout({
children,
}: {
children: ReactNode;
}) {
// Removed redundant client-side redirect here.
// The sign-in form performs role-based redirects after login
// and middleware protects authenticated routes. Keeping the
// layout minimal avoids redirect race conditions.
return <>{children}</>;
}