JokeNetwork/faq

View on GitHub

Showing 3 of 7 total issues

Function Logo has 109 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Logo() {
  return (
    <>
      <svg height="30" viewBox="0 0 68 82">
        <g
Severity: Major
Found in components/logo.tsx - About 4 hrs to fix

    Function Cards has 107 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export default function Cards() {
      return (
        <div className={classes.Cards}>
          <div className={classes.Card}>
            {" "}
    Severity: Major
    Found in components/Cards.tsx - About 4 hrs to fix

      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
        Severity
        Category
        Status
        Source
        Language