0TH0N/project-lvl3-s390

View on GitHub
src/handlers.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handleForm has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const handleForm = (el, stateIn) => {
  el.preventDefault();
  const state = stateIn;
  const formData = new FormData(el.target);
  const newURL = formData.get('inputURL');
Severity: Minor
Found in src/handlers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status