betagouv/service-national-universel

View on GitHub
admin/src/scenes/auth/signup.jsx

Summary

Maintainability
C
7 hrs
Test Coverage

Function Signup has 373 lines of code (exceeds 200 allowed). Consider refactoring.
Open

export default function Signup() {
  const dispatch = useDispatch();
  const [newUser, setNewUser] = React.useState(null);

  const user = useSelector((state) => state.Auth.user);
Severity: Major
Found in admin/src/scenes/auth/signup.jsx - About 7 hrs to fix

    There are no issues that match your filters.

    Category
    Status