Skip to content

Commit

Permalink
Merge branch 'develop' into oy2-30491
Browse files Browse the repository at this point in the history
  • Loading branch information
andieswift authored Oct 4, 2024
2 parents 6915a11 + 7658ebc commit 08588c5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions services/ui-src/src/libs/formLib.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,19 @@ export const DefaultFileTypesInfo = () => (
</p>
);


export const DefaultFileTypesInfoSubSub = () => (
<p>
We accept the following file formats: <b>.docx, .jpg, .pdf, .png, .xlsx,</b> and more:{" "}
See the full list on the{" "}
<Link to={ROUTES.FAQ_ACCEPTED_FILE_TYPES} target={FAQ_TARGET}>
FAQ Page
</Link>
.
</p>
);


export const DefaultFileSizeInfo = ({ route }: { route: string }) => (
<p className="req-message">
Maximum file size of {config.MAX_ATTACHMENT_SIZE_MB} MB per attachment.{" "}
Expand Down Expand Up @@ -104,7 +117,7 @@ export const defaultSubsequentAttachmentInstructionsJSX = (
) => (
<>
<DefaultFileSizeInfo route={anchoredFAQRoute} />
<DefaultFileTypesInfo />
<DefaultFileTypesInfoSubSub />
<AtLeastOneAttachmentSpan />
</>
);
Expand Down Expand Up @@ -184,7 +197,7 @@ export const defaultConfirmSubsequentSubmission: ConfirmSubmitType = {
confirmSubmitHeading: "OneMAC only for document submission",
confirmSubmitMessage: (
<p>
States and CMS reviewers will communicate about the submission through
States and CMS reviewers will communicate about the submission through
email.
</p>
),
Expand Down
2 changes: 1 addition & 1 deletion services/ui-src/src/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jest.mock("focus-trap", () => {
unpause: () => {},
};
return () => trap;
});
});

0 comments on commit 08588c5

Please sign in to comment.