diff --git a/ui/components/AdminRolesPage.tsx b/ui/components/AdminRolesPage.tsx index fdf8e85..1637c2f 100644 --- a/ui/components/AdminRolesPage.tsx +++ b/ui/components/AdminRolesPage.tsx @@ -1,16 +1,7 @@ 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, @@ -287,140 +278,7 @@ export const AdminRolesPage = ({ } `} - -