import {NextLinkComposed} from "@/core/components/LinkRouting"; import { Badge, CircularProgress, Collapse, IconButton, List, ListItem, ListItemButton, ListItemIcon, ListItemText, Typography, } from "@mui/material"; import {useTranslations} from "next-intl"; import useNotification from "@/lib/app/hooks/useNotification"; const SidebarListSubItem = ({item, handleDrawerToggle}) => { const t = useTranslations(); const {notification_count} = useNotification(); const renderBadge = (subitem) => ( ); return ( {item.subItem.map((subitem) => ( {subitem.routing ? : subitem.icon} {t(subitem.secondary)} ) : null }/> ))} ); }; export default SidebarListSubItem;