test(admin): more user stuff to fronend admin stuff

This commit is contained in:
2025-09-26 10:45:20 -05:00
parent 58aedecd4d
commit d9f23e26a3
7 changed files with 170 additions and 46 deletions

View File

@@ -1,5 +1,4 @@
import { Server, Settings, User, type LucideIcon } from "lucide-react";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import { userAccess, type UserRoles } from "../../lib/authClient";
import {
SidebarGroup,
@@ -66,10 +65,6 @@ export default function Admin() {
</>
</SidebarMenuItem>
))}
{userAccess(null, ["systemAdmin"]) && (
<TanStackRouterDevtools position="bottom-right" />
)}
</SidebarMenu>
</SidebarGroupContent>
</SidebarGroup>