atlp-rwanda/hackers-ec-Fe

View on GitHub
src/components/Layouts/DashboardLayout.tsx

Summary

Maintainability
A
1 hr
Test Coverage
B
88%

Function DashboardLayout has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const DashboardLayout = () => {
    const [activeItem, setActiveItem] = useState<string>('Dashboard');
    const [showMenu, setShowMenu] = useState(false);
    const { show } = useHandleResize();
    const [currentUser, setCurrentUser] = useState<currentUserType>({
Severity: Minor
Found in src/components/Layouts/DashboardLayout.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status