misc accessibility fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user