main-project/app/client/src/Components/Admin/SelectUser.js
/*
    HELPER METHOD: Creates an individual hours table row.
   */
HELPER METHOD: Creates an individual hours table row.
HELPER METHOD : Creates an individual hours table row .
generateHourRow(email, firstName, lastName, userType) {
    return (
      <tr
        key={email}
        className={`slu${
          ["Admin", "Teacher", "Volunteer", "Student"][userType - 1]
        }`}
        onClick={e => this.props.history.push(`/a/user/${email}`)}
      >
        <td>{email}</td>
        <td>{firstName}</td>
        <td>{lastName}</td>
      </tr>
    );
  }
generateHourRow ( email , firstName , lastName , userType ) { return ( < tr key = { email } className = { ` ${ [ "Admin" , "Teacher" , "Volunteer" , "Student" ] [ userType - 1 ] } ` } onClick = { e => this . props . history . push ( ` ${ email } ` ) } > < td > { email } < / td > < td > { firstName } < / td > < td > { lastName } < / td > < / tr > ) ; }
HELPER METHOD: Creates an individual hours table row.
HELPER METHOD : Creates an individual hours table row .