From 18ebdd0011fbdff2a4feadef3fa0ea684b638e25 Mon Sep 17 00:00:00 2001 From: fuomag9 <1580624+fuomag9@users.noreply.github.com> Date: Sun, 28 Dec 2025 21:23:59 +0100 Subject: [PATCH] Updated menu tab on ui --- app/(dashboard)/DashboardLayoutClient.tsx | 38 ++++++++++++++--------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/app/(dashboard)/DashboardLayoutClient.tsx b/app/(dashboard)/DashboardLayoutClient.tsx index fd66be03..4ec44460 100644 --- a/app/(dashboard)/DashboardLayoutClient.tsx +++ b/app/(dashboard)/DashboardLayoutClient.tsx @@ -3,7 +3,7 @@ import { ReactNode } from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; -import { Avatar, Box, Button, Divider, List, ListItemButton, ListItemText, Stack, Typography } from "@mui/material"; +import { Avatar, Box, Button, Divider, Stack, Typography } from "@mui/material"; type User = { id: string; @@ -94,48 +94,56 @@ export default function DashboardLayoutClient({ user, children }: { user: User; - {NAV_ITEMS.map((item) => { const selected = pathname === item.href; return ( - - - + > + {item.label} + + ); })} - +