From 8743c7a9acc8dcfe3697f16ac87622ae914a589c Mon Sep 17 00:00:00 2001 From: Caitlin <78328496+CaitHawk@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:27:49 -0700 Subject: [PATCH 1/9] fixes typo (#32230) --- src/platform/user/authentication/components/LoginActions.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/user/authentication/components/LoginActions.jsx b/src/platform/user/authentication/components/LoginActions.jsx index 663401058fb0..3584ddeaa6dd 100644 --- a/src/platform/user/authentication/components/LoginActions.jsx +++ b/src/platform/user/authentication/components/LoginActions.jsx @@ -82,7 +82,7 @@ export default function LoginActions({ externalApplication }) {
- You'll still be able to use you DS Logon{' '} + You'll still be able to use your DS Logon{' '} account on Defense Department websites after this date.
Answer 2 questions to find out how your income may affect your VA health care eligibility and costs. diff --git a/src/applications/income-limits/containers/ResultsPage.jsx b/src/applications/income-limits/containers/ResultsPage.jsx index 3037a7f70d34..979e5f07aac9 100644 --- a/src/applications/income-limits/containers/ResultsPage.jsx +++ b/src/applications/income-limits/containers/ResultsPage.jsx @@ -13,7 +13,6 @@ import { getFifthAccordionHeader, } from '../utilities/results-accordions'; import { getPreviousYear, redirectIfFormIncomplete } from '../utilities/utils'; -import { customizeTitle } from '../utilities/customize-title'; /** * There are two pathways to displaying income ranges on this page @@ -24,11 +23,6 @@ import { customizeTitle } from '../utilities/customize-title'; const Results = ({ dependents, pastMode, results, router, year, zipCode }) => { const APPLY_URL = '/health-care/apply-for-health-care-form-10-10ez/'; const currentYear = new Date().getFullYear(); - const H1 = `Your income limits for ${year || currentYear}`; - - useEffect(() => { - document.title = customizeTitle(H1); - }); useEffect( () => { @@ -126,7 +120,7 @@ const Results = ({ dependents, pastMode, results, router, year, zipCode }) => { return ( <> -
Make any edits that you may need to. Then select{' '} Continue. diff --git a/src/applications/income-limits/containers/YearPage.jsx b/src/applications/income-limits/containers/YearPage.jsx index e7d30dc6ddd9..ba482be89f90 100644 --- a/src/applications/income-limits/containers/YearPage.jsx +++ b/src/applications/income-limits/containers/YearPage.jsx @@ -9,7 +9,6 @@ import { waitForRenderThenFocus } from '@department-of-veterans-affairs/platform import { ROUTES } from '../constants'; import { updateEditMode, updateYear } from '../actions'; -import { customizeTitle } from '../utilities/customize-title'; const YearPage = ({ editMode, @@ -21,11 +20,6 @@ const YearPage = ({ }) => { const [error, setError] = useState(false); const [submitted, setSubmitted] = useState(false); - const H1 = 'Income limits from past years going back to 2001'; - - useEffect(() => { - document.title = customizeTitle(H1); - }); useEffect( () => { @@ -93,7 +87,7 @@ const YearPage = ({ return ( <> -
Select the year you’d like to check income limits for. Then answer 2 questions to find out how your income may have affected your VA health diff --git a/src/applications/income-limits/containers/ZipCodePage.jsx b/src/applications/income-limits/containers/ZipCodePage.jsx index c46a2c55d8f2..6546bf33d7cf 100644 --- a/src/applications/income-limits/containers/ZipCodePage.jsx +++ b/src/applications/income-limits/containers/ZipCodePage.jsx @@ -14,7 +14,6 @@ import { updateZipValidationServiceError, } from '../actions'; import { validateZip } from '../api'; -import { customizeTitle } from '../utilities/customize-title'; const ZipCodePage = ({ editMode, @@ -36,10 +35,6 @@ const ZipCodePage = ({ : `What was your zip code last year?`; }; - useEffect(() => { - document.title = customizeTitle(determineH1()); - }); - // Checks that a zip was entered and is numbers only and has length of 5 const inputValid = zip => { return zipCode && zip.match(/^[0-9]+$/) && zip.length === 5; diff --git a/src/applications/income-limits/utilities/customize-title.js b/src/applications/income-limits/utilities/customize-title.js deleted file mode 100644 index a4b00c93fb2e..000000000000 --- a/src/applications/income-limits/utilities/customize-title.js +++ /dev/null @@ -1,9 +0,0 @@ -// Used to customize the
+ Licenses and certifications search page +
+
+ Respondent Burden: We need this information to
+ determine your eligibility for benefits (38 U.S.C. 3471). Title 38,
+ United States Code, allows us to ask for this information. We estimate
+ that you will need an average of {resBurden} minutes to review the
+ instructions, find the information, and complete this form. The VA
+ cannot conduct or sponsor a collection of information unless a valid OMB
+ (Office of Management and Budget) control number is displayed. You are
+ not required to respond to a collection of information if this number is
+ not displayed. Valid OMB control numbers can be located on the OMB
+ Internet Page at www.reginfo.gov/public/do/PRAMain. If desired, you can
+ call
+ Privacy Act information: VA will not disclose + information collected on this form to any source other than what has + been authorized under the Privacy Act of 1974 or Title 38, Code of + Federal Regulations 1.576 for routine uses (i.e., VA sends educational + forms or letters with a Veteran’s identifying information to the + Veteran’s school or training establishment to (1) assist the Veteran in + the completion of claims forms or (2) VA obtains further information as + may be necessary from the school for VA to properly process the + Veteran’s education claim or to monitor his or her progress during + training) as identified in the VA system of records. 58VA21/22/28, + Compensation, Pension, Education, and Veteran Readiness and Employment + Records - VA, published in the Federal Register. Your response is + required to obtain or retain benefits under this cost-free IBM + SkillsBuild Cybersecurity Training Program. While you do not have to + respond, VA cannot consider you approved to participate until we receive + this information per (38 U.S.C. 3452(b) and 3501(a)). Your responses are + confidential (38 U.S.C. 5701). Information submitted is subject to + verification through computer matching programs with other agencies. +
+Date: {moment().format('dddd, MMMM D, YYYY')}
+Date: {formatDate(new Date())}
Start/End time: 12:30 a.m. to 3:00 a.m. ET