yasshi2525/RushHour

View on GitHub
client/src/common/map.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useMap has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useMap = (): Handler => {
  const [{ min_scale, max_scale }] = useContext(ConfigContext);
  const [coordX, coordY, coordS] = useContext(CoordContext);
  const delegate = useContext(DelegateContext);

Severity: Minor
Found in client/src/common/map.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status