department-of-veterans-affairs/vets-website

View on GitHub
src/applications/check-in/hooks/useDemographicsFlags.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useDemographicsFlags has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useDemographicsFlags = () => {
  const selectCurrentContext = useMemo(makeSelectCurrentContext, []);
  const context = useSelector(selectCurrentContext);
  const { token } = context;

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

    There are no issues that match your filters.

    Category
    Status