mirror of
https://github.com/massbug/judge4c.git
synced 2025-07-03 15:20:50 +00:00
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
import GenericLayout from "../components/GenericLayout";
|
|
|
|
export default function AdminLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return <GenericLayout allowedRoles={["ADMIN"]}>{children}</GenericLayout>;
|
|
}
|