mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-07-07 19:50:52 +00:00
- 合并 adminActions、teacherActions 和 guestActions 到统一的 userActions - 创建通用的用户配置和页面组件 - 优化用户表单验证逻辑 - 调整布局和页面结构
5 lines
223 B
TypeScript
5 lines
223 B
TypeScript
import GenericLayout from "../_components/GenericLayout";
|
|
|
|
export default function TeacherLayout({ children }: { children: React.ReactNode }) {
|
|
return <GenericLayout allowedRoles={["ADMIN"]}>{children}</GenericLayout>;
|
|
}
|