JokeNetwork/faq

View on GitHub
components/textRotator.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function TextRotator has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TextRotator = () => {
  const [currentWordIndex, setCurrentWordIndex] = useState(0);
  const [letters, setLetters] = useState<Letter[]>(
    words[0].split("").map((char) => ({ char, key: Math.random() }))
  );
Severity: Minor
Found in components/textRotator.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status