WRidder/react-spa

View on GitHub
client/src/components/core/navigation.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function render has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render: function() {
    var profileLink = (this.state.session.get("auth")) ? (<NavLink to="/profile" title="Profile" className="profile"/>) : "";
    var loginoutLink = (this.state.session.get("auth")) ? (<li className="logout"><LogoutLink/></li>) : (<NavLink to="/login" title="Login" className="login"/>);

    // Dev settings toolbar
Severity: Minor
Found in client/src/components/core/navigation.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status