misc accessibility fixes

This commit is contained in:
2024-02-21 17:19:01 +00:00
parent 7dbc978f00
commit dcdda6eb6e
8 changed files with 14 additions and 18 deletions
+1 -4
View File
@@ -11,10 +11,7 @@ import ReactPDF, {
import { createElement } from "react";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import useTranslation from "next-translate/useTranslation";
import renderers, { renderBlock } from "react-pdf-html/dist/renderers";
import transLookupCY from "../../locales/cy/myrepresentations.json";
import transLookupEN from "../../locales/en/myrepresentations.json";
import { JSONPath as jsonpath } from "jsonpath-plus";
@@ -118,7 +115,7 @@ export const statement_pdf = ({ docProps }) => {
let datestr = values.pinswg_name.split("-");
let signedDate = datestr[2] + "/" + datestr[1] + "/" + datestr[0];
let appealTypeValue = getFormCollectionByID(values.appealType);
let { t } = useTranslation();
return (
<Document>
<Page size="A4" style={styles.page} wrap>