andreashuber69/verify-coldcard-dice-seed

View on GitHub
src/site/main.tsx

Summary

Maintainability
A
0 mins
Test Coverage

Function Main has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

const Main = () => {
    const formRef = useRef<HTMLFormElement>(null);
    const [generate24Words, setGenerate24Words] = useState(false);
    const [diceRolls, setDiceRolls] = useState("");
    const [isValid, setIsValid] = useState(false);
Severity: Major
Found in src/site/main.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status