EscolaLMS/Front

View on GitHub
src/pages/reset-password/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ResetPassword has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ResetPassword: React.FC = () => {
  const { push } = useHistory();
  const { search } = useLocation();
  const email = search && search.split("&")[0].split("=")[1];
  const token = search && search.split("&")[1].split("=")[1];
Severity: Minor
Found in src/pages/reset-password/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status