diff --git a/app/admin/layout.tsx b/app/admin/layout.tsx index 5188f42..8affaf5 100644 --- a/app/admin/layout.tsx +++ b/app/admin/layout.tsx @@ -43,7 +43,7 @@ export default function AdminLayout({ ); } - if (!isAuthenticated || (user?.role !== "ADMIN" && user?.role !== "admin")) { + if (!isAuthenticated || user?.role !== "ADMIN") { return null; }