dbmedialab/reader-critics

View on GitHub
src/admin/components/layout/TopbarComponent.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 42 lines of code (exceeds 40 allowed). Consider refactoring.
Open

    render(): JSX.Element {
        const userName = this.props.currentUser.name;
        let submenuClass = 'top-bar-left show-for-small-only';
        submenuClass += (this.props.isSubmenuOpen)?' open':'';
        let accountMenuClass:string = 'has-dropdown bg-white';
Severity: Minor
Found in src/admin/components/layout/TopbarComponent.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status