import { AdminLayout } from "./AdminLayout.tsx"; import type { AdminTable as _AdminTable } from "./admin/AdminTable.tsx"; import { AdminModal } from "./admin/AdminModal.tsx"; import { RoleEditorDrawer } from "./admin/drawers/RoleEditorDrawer.tsx"; import { AdminRolesScript } from "./admin/AdminRolesScript.tsx"; // We need to use these imports, they are falsely flagged by lint because they are only used in JSX. // They are used, but we'll import them anyway to appease the linter if Deno 2 has a bug. // In Hono JSX, imports might not be strictly recognized. const _AdminModal = AdminModal; const _AdminRolesScript = AdminRolesScript; const _RoleEditorDrawer = RoleEditorDrawer; export const AdminRolesPage = ({ roles, apps, }: { roles: any[]; apps: any[]; }) => { return (