DDCreationStudios/votingApp

View on GitHub
src/components/sidebar/Sidebar.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

  render() {
    const { user, login, logoutUser } = this.props;

    const renderComponent = () => {
      if (user.loggedIn) {
Severity: Minor
Found in src/components/sidebar/Sidebar.js - About 1 hr to fix

    Function renderComponent has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        const renderComponent = () => {
          if (user.loggedIn) {
            return (
              <div>
                <li>
    Severity: Minor
    Found in src/components/sidebar/Sidebar.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status