src/components/Layouts/DashboardLayout.tsx
Function DashboardLayout
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const DashboardLayout = () => {
const [activeItem, setActiveItem] = useState<string>('Dashboard');
const [showMenu, setShowMenu] = useState(false);
const { show } = useHandleResize();
const [currentUser, setCurrentUser] = useState<currentUserType>({