src/js/containers/NewScoreFormContainer.js
Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
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">
- Create a ticketCreate a ticket