client/app/bundles/course/survey/pages/SurveyResults/TextResponseResults.jsx
Function renderTextResultsTable
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static renderTextResultsTable(answers, anonymous) {
return (
<Table>
<TableHead>
<TableRow>
- Create a ticketCreate a ticket
Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { includePhantoms, answers, anonymous } = this.props;
const filteredAnswers = includePhantoms
? answers
: answers.filter((answer) => !answer.phantom);
- Create a ticketCreate a ticket