test(admin): more user stuff to fronend admin stuff
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user