ahbeng/NUSMods

View on GitHub
website/src/views/tetris/overlays/TetrisLogo.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function TetrisLogo has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TetrisLogo: React.FC = () => {
  // Create the diagonal bands by offsetting the color using line and char index
  // Make the bands move by offsetting the color using time
  const currentTime = useCurrentTime(INTERVAL);
  const timeOffset = Math.round(currentTime.getTime() / INTERVAL);
Severity: Minor
Found in website/src/views/tetris/overlays/TetrisLogo.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status