department-of-veterans-affairs/vets-website

View on GitHub
src/applications/personalization/profile/components/alerts/CredentialRetirementAlerts.jsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function AccountSecurityLoa1CredAlert has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const AccountSecurityLoa1CredAlert = () => {
  const { label } = useSignInServiceProvider();

  return (
    <>

    Function SignInEmailAlert has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export const SignInEmailAlert = () => {
      const { label } = useSignInServiceProvider();
    
      const [dismissed, setDismissed] = useSessionStorage(
        'dismissedCredentialAlerts',

      There are no issues that match your filters.

      Category
      Status