department-of-veterans-affairs/vets-website

View on GitHub
src/applications/check-in/containers/withError.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function withError has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const withError = Component => {
  const WrappedComponent = props => {
    const selectError = useMemo(makeSelectError, []);
    const { error } = useSelector(selectError);

Severity: Minor
Found in src/applications/check-in/containers/withError.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status