alexzherdev/foosballtracker

View on GitHub
src/js/containers/NewScoreFormContainer.js

Summary

Maintainability
A
0 mins
Test Coverage

Function render has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  render() {
    const players = _.reject(this.props.players, (p) => [..._.compact(this.state.team1), ..._.compact(this.state.team2)].includes(p.id));
    return (
      <div className="new-score panel panel-default">
        <div className="panel-heading">
Severity: Minor
Found in src/js/containers/NewScoreFormContainer.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status