timhaley94/holdem

View on GitHub
client/src/utils.js

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Function chunkBy has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function chunkBy(array, fn) {
  const { chunks, chunk } = (
    array.reduce(
      (acc, curr) => {
        const key = fn(curr);
Severity: Minor
Found in client/src/utils.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status