Lambda-School-Labs/designhub-fe

View on GitHub
src/views/Profile/Heatmap.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function Heatmap has 75 lines of code (exceeds 50 allowed). Consider refactoring.
Open

const Heatmap = (props) => {
  const [today] = useState(new Date());
  const heatmapArr = [];
  const [days, setDays] = useState(-365);
  const { width } = useWindowDimensions();
Severity: Major
Found in src/views/Profile/Heatmap.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status