client/src/components/core/navigation.jsx
Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
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