Counselllor / Counsellor-Web

Avoid .bind() or local functions in JSX properties JS-0417
Performance
Major
1 occurrence in this check
JSX props should not use arrow functions
35    const startIndex = (currentPage - 1) * contributorsPerPage;
36    const endIndex = startIndex + contributorsPerPage;
37    return contributors.slice(startIndex, endIndex).map(contributor => (
38      <div key={contributor.login} className="contributor-card" onClick={() => handleProfileClick(contributor.login)}>39        <img src={contributor.avatar_url} alt={contributor.login} />
40        <div className="contributor-info">
41          <h3>{contributor.login}</h3>